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.

Mike

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

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.

Steve - Intel Developer Support

发表评论

登录添加评论。还不是成员?立即加入