Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Question on warning LNK4098

rahzan
New Contributor I
696 Views
I am getting the following warning on linking a static library (which works well with console apps) into a (inprocess) com-dll.

warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

I have asked this before and the answer has been that the run-time libraries used are not matching.
1. Where can I find these run-time libraries among the project settings?
2. What libraries should I use so that this library is not so darn picky about what type of application is calling it? Or is it not possible?

Thanks in adv.
Tim
0 Kudos
2 Replies
rahzan
New Contributor I
696 Views
Use
/libdir:noauto
on the static library's project.
0 Kudos
Steven_L_Intel1
Employee
696 Views
You probably want to start with Do you Suffer from the Heartbreak of MCLS?

Steve
0 Kudos
Reply