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

Compiler Warning messages

lklawrie
Beginner
648 Views

Where can I find a list of compiler warning messages and what they mean? I can easily find the run-time error messages but have been unable to find compiler warnings.

Linda

0 Kudos
3 Replies
Steven_L_Intel1
Employee
648 Views

There isn't a list, though we have a new project to add descriptions of diagnostics to the Knowledge Base. The messages are supposed to be self-explanatory, though I admit that sometimes the wording could be better. Which message(s) do you need help with?

0 Kudos
lklawrie
Beginner
648 Views

There isn't a list, though we have a new project to add descriptions of diagnostics to the Knowledge Base. The messages are supposed to be self-explanatory, though I admit that sometimes the wording could be better. Which message(s) do you need help with?


This one:

ifort: command line warning #10212: /fp:precise evaluates in source precision with Fortran.

from enabling /fp:precise in the IDE. (In hopes of better reconciliation between two runs with small diffs...)

Thanks.

Linda

0 Kudos
Steven_L_Intel1
Employee
648 Views

Ah, that one is easy. The /fp switch has various options, including "source" and "precise". In our C++ compiler, these are different ("precise" does only value-safe optimizations, "source" maintains source declared precision and does only value-safe optimizations), but in Fortran both of these are the same as the C++ "source". So use the "source" option if you want to avoid the helpful warning.

0 Kudos
Reply