468,512 Members | 1,372 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

/NODEFAULTLIB warning in Visual C++ 6.0

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.

Aug 16 '06 #1
2 8610

"ruffiano" <ro************@yahoo.coma écrit dans le message de news:
11*********************@h48g2000cwc.googlegroups.c om...
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...
Aug 16 '06 #2
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.
Eric Pruneau wrote:
"ruffiano" <ro************@yahoo.coma écrit dans le message de news:
11*********************@h48g2000cwc.googlegroups.c om...
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...
Aug 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by rob | last post: by
4 posts views Thread by thule | last post: by
2 posts views Thread by Robbie Hatley | last post: by
reply views Thread by Matej Trampus | last post: by
5 posts views Thread by Peter Ritchie [C# MVP] | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.