Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

error #7062

sstouli
Einsteiger
577Aufrufe
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

0 Kudos
2 Antworten
Steven_L_Intel1
Mitarbeiter
577Aufrufe
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.
sstouli
Einsteiger
577Aufrufe
Thank you Steve. It works now.
Antworten