472,958 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 3475
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

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...
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...
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...
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...
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...
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") //...
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 ...
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...
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...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.