Question

Is it possible to suppress specific warning message in ifort compiler still having other warnings turned on? To be more specific, I want to switch off the following warning message:

warning #7601: F2008 standard does not allow an internal procedure to be an actual argument procedure name. (R1214.4).

(by the way, this is some issue related to the F2008 standard implementation within ifort). I'm using ifort 13.0.1 20121010 on a Linux machine.

Était-ce utile?

La solution

Use the -diag-disable nnn option (/Qdiag-disable:nnn on Windows), where nnn is the number of the warning (7601 here) that you want to suppress.

Autres conseils

Yes, that is possible. You can turn on/off all warnings separately.

I'm not sure what the correct keyword for this particular warning is, my guess would be -warn nostderrors...

You can find the extensive list of warn options here.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top