- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When building a fortran DLL project, the compiler does not list any errors for a subroutine. However, if I then try to compile a specific routine in the project it finds the error 8284 "If the actual argument is scalar, the dummy argument shall be scalar." which is indeed an error.
Shouldn't it report this error when doing a clean build? If not, then I'll need to compile each routine seperately after building the project in order to find any offending routines.
I am using VS2008 and Composer XE 2011 Update 11 with the option Fortran, Diagnostics, Check Routine Interfaces set to Yes.
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "check routine interfaces" feature depends on compiling the called subroutine before the caller. If that doesn't happen, it won't catch such errors on a clean build.

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