Question on warning LNK4098

Question on warning LNK4098

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

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Use
/libdir:noauto
on the static library's project.

Imagen de Steve Lionel (Intel)

You probably want to start with Do you Suffer from the Heartbreak of MCLS?

Steve

Steve

Inicie sesión para dejar un comentario.