• Advertisement

Archived

This topic is now archived and is closed to further replies.

LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs...

This topic is 5497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other libs; use /NODEFAULTLIB:library This warning i see after every compilation and I can't understand what does it mean. I've read help about this warning (F1) and hadn't understand something. Somebody can say to me what is this? How do avoid this warning (not by #pragma, of cource ) and what bugs can I get if I'll ignore this warning. P.S. I have an engine, that was compiled in .lib, and the warning appears in the application, that uses this lib [edited by - nail85 on February 2, 2003 5:28:35 PM]

Share this post


Link to post
Share on other sites
Advertisement
it means that different source files use different crt versions. go to project settings->c++->code generation and select the same crt use for all your files.

Share this post


Link to post
Share on other sites
try to put /NODEFAULTLIB: "LIBC" on your compile options, if it doesnt work try /NODEFAULTLIB: lib, for every lib you use, one at a time of course

one will get that warning of





To be considered a genius you just have to say what everybody knows in a way very few understand

Share this post


Link to post
Share on other sites

  • Advertisement