- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Recently I found a compilation difference between the compiler for Linux and the one for windows. The Windows one can report some errors, like miss matching of dummy arguments and actual ones, which the Linux one can't. I'd like to know if there is any option which can force the compiler to do that. Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is possible that the default options and/or versions are different for the Linux and Windows Intel Fortran compilers that you used; were the source codes identical?
In general, I have found that the feature and options set of the Linux and Windows versions of Ifort are almost the same, although the abbreviations of the options may be slightly different because of the slight differences in cultures.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The option you want is -warn interface. This is on by default in newly created Visual Studio projects, but isn't the default when the compiler is invoked from the command line.

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