Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Can I Disable only one specific warning

jbalster
Novice
464 Views
I am getting thousands of occurances of the warning

Warning: A jump into a block from outside the block may have occurred.

since my code is created by a pre-processor that uses a lot of GOTO statements. I would like to disable that warning but ONLY that one warning without disabling any other warnings. With the C++ compilier that comes with Visual Studio .NET 2003, you can disable a specific warning by number, but I don't find that specific capability in the help forIVF 9.0 and there also does not seem to be any id # in the warning messages either. Is this a known or planned capability?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
464 Views
There is not the ability to disable specific warnings. We are looking at implementing some sort of finer-grained control over warnings in the future.

When that particular warning is given, it is alerting you to code that may be broken. Such illegal control flow changes can have unpredictable results.
0 Kudos
Reply