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.

Was it helpful?

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top