470,858 Members | 1,916 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

warning LNK4098: how to remove it?

Im including the following
#include <iostream>
#include <windows.h>
#include "consola.h"
#include <conio.h>

and the consola library

what should i do to remove the warning LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library

without having other problems with other libraries?
Jan 13 '08 #1
1 3359
9,208 Expert Mod 8TB
This is caused by mixing the wrong types of libraries. That is, mixing single-threaded with multithreaded, or debug with release, etc.

Read this: http://msdn2.microsoft.com/en-us/lib...k0(vs.71).aspx.
Jan 13 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Jason Short | last post: by
3 posts views Thread by Bill Burris | last post: by
6 posts views Thread by Bonj | last post: by
4 posts views Thread by jigi via DotNetMonster.com | last post: by
reply views Thread by Egbert Nierop \(MVP for IIS\) | last post: by
2 posts views Thread by ruffiano | last post: by
3 posts views Thread by ashnin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.