Failure to recognise error #8284 at project build

Failure to recognise error #8284 at project build

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.


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today