- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page