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.

有帮助吗?

解决方案

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.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top