- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
2 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you Steve. It works now.

Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite