- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to compile the attached code on Intel Fortran 11.1 for Windows XP (on Visual Studio 2008). The code can be compiled under version 10.1 but under the version 11.1 I get the following error message:
#7062: The characteristics of dummy argument 2 of the associated actual procedure differ from the characteristics of dummy argument 2 of the dummy procedure.
I guess it comes from the interface when passing a function as an argument to a routine but I can't fix it.
Thanks very much in advance for any replies.
Best
I am trying to compile the attached code on Intel Fortran 11.1 for Windows XP (on Visual Studio 2008). The code can be compiled under version 10.1 but under the version 11.1 I get the following error message:
#7062: The characteristics of dummy argument 2 of the associated actual procedure differ from the characteristics of dummy argument 2 of the dummy procedure.
I guess it comes from the interface when passing a function as an argument to a routine but I can't fix it.
Thanks very much in advance for any replies.
Best
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you can fix it. The problem is that the INTENT attributes are inconsistent. The standard says that these must match when you are passing a procedure as an argument. 10.1 didn't catch this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Steve. It works now.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page