- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are currently starting to port our CVF 6.6B application to Intel Fortran 7.0, and I'm having a problem with DLLEXPORT which I never encountered in CVF.
The function looks as follows:
integer function DLLVER() result(ierr)
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
ierr = 4200
end
I get the error message:
Error 300 : In function/entry DLLVER with result name IERR, DLLVER is specified or referenced illegally
If I change the function to:
integer function DLLVER()
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
DLLVER = 4200
end
everything works
This occurs in near every function in our code (250,000 lines). I'd prefer not to change the code, as we believe it is clearer with the renaming the result. Is there anything I can do.
The function looks as follows:
integer function DLLVER() result(ierr)
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
ierr = 4200
end
I get the error message:
Error 300 : In function/entry DLLVER with result name IERR, DLLVER is specified or referenced illegally
If I change the function to:
integer function DLLVER()
!DEC$ ATTRIBUTES DLLEXPORT :: DLLVER
implicit none
DLLVER = 4200
end
everything works
This occurs in near every function in our code (250,000 lines). I'd prefer not to change the code, as we believe it is clearer with the renaming the result. Is there anything I can do.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like a bug in the Intel compiler. Report it to Premier Support (https://premier.intel.com/)
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
We don't currently own the Intel 7.0, (although we have 40+ licenses of CVF). I'm using the evaluation download.
How do I get access to premier support?
We don't currently own the Intel 7.0, (although we have 40+ licenses of CVF). I'm using the evaluation download.
How do I get access to premier support?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have access to Premier Support during the evaluation period. This should be explained in the e-mail containing your evaluation serial number.
Steve
Steve

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