- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
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,
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
/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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

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