- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can someone tell me how to remove this linker warning? It happens under different circumstances. If I export symbols from a module
REAL*8, DIMENSION(:), POINTER :: B
INTEGER, DIMENSION(:), POINTER :: IB
C
!DEC$ ATTRIBUTES DLLEXPORT::B
!DEC$ ATTRIBUTES DLLEXPORT::IB
I get the following linker warning:
LINK : warning LNK4049: locally defined symbol "_ASPN_DMS_mp_B" imported
LINK : warning LNK4049: locally defined symbol "_ASPN_DMS_mp_IB" imported
LINK : warning LNK4049: locally defined symbol "_ASPN_DMS_mp_IB" imported
RATEFRACD.dll - 0 error(s), 2 warning(s)
Any help appreciated,
Ron
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can ignore this. You get the warning when you have a module that defines a symbol that is DLLEXPORTed and you USE the module in building the DLL.
If you really want to suppress the warning, add /ignore:4049 to the Linker command line options.
If you really want to suppress the warning, add /ignore:4049 to the Linker command line options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should also, if possible, dig out the version 6.6C upgrade.

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