/NODEFAULTLIB warning in Visual C++ 6.0

R

ruffiano

Hello,

When I link my applications, Visual C++ 6.0 prints out the following
warning:

LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs;
use /NODEFAULTLIB:library

Do you know where in the workspace settings I'm supposed to specify the
/NODEFAULTLIB:library option?

Thanks for your help.
 
E

Eric Pruneau

ruffiano said:
Hello,

When I link my applications, Visual C++ 6.0 prints out the following
warning:

LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs;
use /NODEFAULTLIB:library

Do you know where in the workspace settings I'm supposed to specify the
/NODEFAULTLIB:library option?

Thanks for your help.

this is off-topic but...

Project / Settings -> Link tab -> category: Input
then check Ignore all default libraries

but this will probably gives you link errors...
 
R

ruffiano

but this will probably gives you link errors...

It did, but then I pasted "/NODEFAULTLIB" under "Ignore Libraries", and
the warning no longer shows up.

Thanks for pointing me to the right direction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top