Intel Fortran Compiler (ifort) suppress specific warning message

compilation, fortran, intel-fortran

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.

Problem

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.

Original source