- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're having some difficulties in compiling some source that uses a PARAMETER to dimension an array. However, the error only comes up under certain circumstances. The error message we receive is:
error #6219: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [CONSTINT]
Compile command used was "ifort -c -warn interfaces ifort6219.for". If you remove the "-warn interfaces", it works. If you remove the "header guards", it works. If you remove the call to an unrelated subroutine, it works. Al three together, and you get a #6219 error.
> ifort -version
Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 13.0.0.089 Build 20120731
$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.0.4.191 Build 20110427
(The error is encountered on both Windows and Linux, so I included the versions of both platforms we were testing it on. Posting it here, because this is where I spend most of my time.)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page