Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28996 Discussions

Composer XE installation breaks 11.1 builds

mttinning
Beginner
487 Views
After installing Composer XE 2011 (release 8) I have encountered problems building old projects with version 11.1. After selecting compiler 11.1 in Visual Studio 2008 and building, the following errors are produced:


error #8299: A scalar actual argument must be passed to a scalar dummy argument unless the actual argument is of type character or is an element of an array that is neither assumed shape nor pointer. [AC_INT]

error #7836: If the actual argument is scalar, the corresponding dummy argument shall be scalar unless the actual argument is an element of an array that is not an assumed-shape or pointer array, or a substring of such an element. [AC_N]


Possibly related to this, the /gen-interfaces option has been removed from the (Project > Properties > Fortran > Diagnostics) menu. However adding this as an additional option in the command line does not make any difference.

I am required to provide support for both version 11.1 and Visual Studio 2008 - can you help?

Thanks,
0 Kudos
4 Replies
tropfen
New Contributor I
487 Views
hello,

an installation of ivf composer xe 2011 usally removes the integration from the old compiler (ivf11.1) . Have you tested to repair the old installation?

Frank
0 Kudos
Steven_L_Intel1
Employee
487 Views
These errors have nothing to do with the integration. Rather, the newer compiler has found errors in your code that the older one did not.

/gen-interfaces is no longer used - it is implied by /warn:interface.

My advice to you is to correct the error in your code. The messages should be self-explanatory, but if you need help in understanding them, please post the calls that it is complaining about, the declaration of the actual arguments, and the declaration of the procedure being called.
0 Kudos
mttinning
Beginner
487 Views
Thanks Frank,

This seems to be what has happened - the Visual Studio integration is now exclusively in the Composer XE 2011 format. This should not be a problem however, as I am targeting the 11.1 installation. As I said, there is a compiler option missing, but as I can add it in manually it shouldn't be an issue.

I have tried repairing the old installation, but this has no effect.

Mike
0 Kudos
Steven_L_Intel1
Employee
487 Views
The newer integration can invoke the 11.1 compiler. But as I said above, this is unrelated to integration. It is additional error checking enabled with /warn:interface.
0 Kudos
Reply