- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is more of a curiosity/FYI, our legacy FPS code has several external DLL attributes specified as
!MS$ATTRIBUTES DLLEXPORT :: msgetinp
!MS$ATTRIBUTES ALIAS : 'getinp' :: msgetinp
and they compile and function on the CVF compiler. I've changed them to
!DEC$ATTRIBUTES DLLEXPORT :: msgetinp
!DEC$ATTRIBUTES ALIAS : 'getinp' :: msgetinp
but I was wondering if the compiler was designed to be this smart for the FPS upgrade, or is this a missed warning?
!MS$ATTRIBUTES DLLEXPORT :: msgetinp
!MS$ATTRIBUTES ALIAS : 'getinp' :: msgetinp
and they compile and function on the CVF compiler. I've changed them to
!DEC$ATTRIBUTES DLLEXPORT :: msgetinp
!DEC$ATTRIBUTES ALIAS : 'getinp' :: msgetinp
but I was wondering if the compiler was designed to be this smart for the FPS upgrade, or is this a missed warning?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.compaq.com/fortran/visual/prod-desc.html has a long list of supported FPS extensions including those in your post:
!MS$ metacommand Form
$ATTRIBUTES ALIAS-external name for a subprogram or common block
$ATTRIBUTES DLLIMPORT, DLLEXPORT-import/export from DLL
hth,
John
hth,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have tried, wherever reasonable (and some places not so reasonable) to accept documented MS PowerStation 4.0 syntax, including directives. The idea was that DVF (now CVF) would be a "drop-in replacement" for PowerStation 4.0.
We came so close to this that many people believe, to this day, that we simply took Microsoft's compiler and modified it! There are a few MS-isms we don't support, such as $DEBUG and file-scope INTERFACE blocks. Note that we even support the INTERFACE TO syntax from PowerStation 1 that FPS4 didn't document (but which was widely used by FPS4 customers.)
Steve
We came so close to this that many people believe, to this day, that we simply took Microsoft's compiler and modified it! There are a few MS-isms we don't support, such as $DEBUG and file-scope INTERFACE blocks. Note that we even support the INTERFACE TO syntax from PowerStation 1 that FPS4 didn't document (but which was widely used by FPS4 customers.)
Steve
![](/skins/images/B7BA37F9CE4B52FF7CAE1FB0388839C8/responsive_peak/images/icon_anonymous_message.png)
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