- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile a FORTRAN library from circa 1985. A common error message I get for the debug version is
Error: The type of the actual argument differs from the type of the dummy argument.
This is a common theme, where a subroutine is called with a real argument, but it is used as an integer.
Is there some way I can turn off this check in the debug version? The release version compiles fine. I will need a debug version at some point.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right click on the project, select Properties, Fortran, Diagnostics. Turn off "Generate interface blocks" and "Check routine interfaces". Be very careful about such mismatches - they can create serious problems.

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