473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

warning LNK4098: how to remove it?

3
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 3494
weaknessforcats
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

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

Similar topics

5
by: Jason Short | last post by:
OK if you have a string object and do the following: string temp; temp = "test this"; temp.Remove(0,4); You should at LEAST get a warning that the string is not modified... I have done...
0
by: David F. | last post by:
Getting this message so turned on /VERBOSE - part of the output is below (the only reference to searching of libc.lib). This is for a multi-threaded application and AFAIK all my libs are...
3
by: Bill Burris | last post by:
How do I find what is causing this warning from the Linker? If I use /NODEFAULTLIB I get hundreds of undefined symbols. LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other...
6
by: Bonj | last post by:
Hi I have a project that consists of an unmanaged DLL (extended stored procedure) and a static library, which I have converted to managed, although it has got one unmanaged function which is...
4
by: jigi via DotNetMonster.com | last post by:
for those who followed my woes yesterday, http://www.dotnetmonster.com/Uwe/Forum.aspx/dotnet-vc/6571/why-do-i-have-msvcr71-dll-and-msvcr71d-dll-in-my-release-build Now i ran one of the...
0
by: Egbert Nierop \(MVP for IIS\) | last post by:
in stdafx.h? It's the error mentioned in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/LNK4098.asp #ifdef DEBUG #pragma comment(lib, "libcmtd.lib") //...
2
by: ruffiano | last post by:
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 ...
3
by: ashnin | last post by:
Hi, Can anyone tell me, why am I getting this warning? cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ (Actually Im compiling a set...
24
by: Steven D'Aprano | last post by:
Sometimes it seems that barely a day goes by without some newbie, or not- so-newbie, getting confused by the behaviour of functions with mutable default arguments. No sooner does one thread...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.