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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29299 Discussions

Linker Warning 4049 in Compaq Visual Fortran 6.6B

citadel123
Beginner
619 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
619 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
619 Views
You should also, if possible, dig out the version 6.6C upgrade.
0 Kudos
Reply