Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29302 Discussions

Linker Warning 4049 in Compaq Visual Fortran 6.6B

citadel123
Beginner
629 Views
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
RATEFRACD.dll - 0 error(s), 2 warning(s)
Any help appreciated,
Ron
0 Kudos
2 Replies
Steven_L_Intel1
Employee
629 Views
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.
0 Kudos
anthonyrichards
New Contributor III
629 Views
You should also, if possible, dig out the version 6.6C upgrade.
0 Kudos
Reply