473,586 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable linker warnings

Hi experts,
is it possible to disable linker warnings (i.e. LNK4204)?
Thanx
Mar 17 '06 #1
5 5380
> Hi experts,
is it possible to disable linker warnings (i.e. LNK4204)?
Thanx


Without the actual message and an explanation of what you are doing/have
done I cannot give you much more information than this:

http://msdn.microsoft.com/library/de...inglnk4204.asp

--

Kind regards,
Bruno van Dooren
br************* *********@hotma il.com
Remove only "_nos_pam"


Mar 17 '06 #2
Hi,
I know what this warning means, I just want to disable it. (Not prevent). I
can't find command line argument to disable specific LINKER warnings
"Bruno van Dooren" <br************ **********@hotm ail.com> schrieb im
Newsbeitrag news:eU******** ******@tk2msftn gp13.phx.gbl...
Hi experts,
is it possible to disable linker warnings (i.e. LNK4204)?
Thanx


Without the actual message and an explanation of what you are doing/have
done I cannot give you much more information than this:

http://msdn.microsoft.com/library/de...inglnk4204.asp

--

Kind regards,
Bruno van Dooren
br************* *********@hotma il.com
Remove only "_nos_pam"

Mar 17 '06 #3
> Hi,
I know what this warning means, I just want to disable it. (Not prevent). I
can't find command line argument to disable specific LINKER warnings


As far as I know there is no general mechanism for disabling linker warnings.
The only thing you can do is to prevent them, for example by using /Zi or
/NODEFAULTLIB if appropriate.

--

Kind regards,
Bruno.
br************* *********@hotma il.com
Remove only "_nos_pam"
Mar 18 '06 #4
>is it possible to disable linker warnings (i.e. LNK4204)?

I don't know if this will work or not...

Try adding the following to your linker options.

/IGNORE:4204

Dave
Mar 18 '06 #5
> >is it possible to disable linker warnings (i.e. LNK4204)?

I don't know if this will work or not...

Try adding the following to your linker options.

/IGNORE:4204

Hi,
You can give it a try, but according to this, it should not work. that
switch is not valid anymore:
http://support.microsoft.com/default...b;en-us;103717

I just did the following test: building an exe with a missing symbol. this
is only possible by using /FORCE. This will force the linker to output the
exe, but with warning LNK4088.

I was not able to suppres this warning with /IGNORE.
on the other hand, if you specify an unknown switch like /BLABLA it will be
printed in the output window with the message
LINK : warning LNK4044: unrecognized option '/BLABLA'; ignored

So one one hand the /IGNORE switch seems to be ignored, but on the other
hand it is still recognized as a known linker switch.
Perhaps one of the MVP's can dig up some more info?

--

Kind regards,
Bruno van Dooren
br************* *********@hotma il.com
Remove only "_nos_pam"
Mar 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1428
by: Michael Howes | last post by:
mfcs71d.lib(stdafx.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators atlsd.lib(atltrace.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators I'm trying to create a Managed C++ DLL to call some legacy code. This DLL needs to use MFC...
3
1710
by: Jason Heyes | last post by:
Does anyone debugger-related warnings like this one? warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<cha r> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<cha r> > const ,int>,std::map<std::basic_string<char,std::char_traits<char>,std::al locator<char>...
4
1331
by: Old Wolf | last post by:
I have the following code. One one compiler it compiles OK, on the other it gives the two warnings shown below, and then the linker fails because Foo<int>::str is undefined. Which is correct? Second question: the compiler won't accept: static const std::string str = std::string(); Is there any way to achieve that effect with...
2
8634
by: Zarnywoop | last post by:
Hi, Could someone offer a solution to the following issue I have with vc7.1. With VC6 it was possible to turn off linker warnings with a #pragma comment( linker, "/ignore:4049" ) line in the source. With VC7.1 the linker now reports that /ignore is unrecognised, and sure enough when consulting the docs. the option is no
3
12401
by: Philipp Staempfli | last post by:
Hello I have a project which includes different libraries. When I compile the project, I get a huge amount of the following linker warnings: --- warning LNK4204: "C:\...\Debug\vc70.pdb' is missing debugging information for referencing module; linking object as if no debug info --- I'd like to suppress these warnings and therefor I tried...
1
2499
by: Codex Twin | last post by:
Hello group:: I have used XML documentation genearted from source (used by NDoc). However, I am left with hundreds of extraneous warnings in the Build output that I can do without and are not very important. Is there a way to disable these warnings to appear every time I compile? Many thanks...
1
1743
by: Paul Brun | last post by:
I have a library that is built in VC6 which contains references to the new iostream instead of "iostream.h" to accomodate my .NET Studio built C++ application. However, in debug mode, I obtain the following linker warnings. The object files referenced are part of the VC6 built libraries: MiLibd.lib(MiInternetAddress.obj) : error LNK2019:...
2
1566
by: badkarspiloten | last post by:
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my other projects (not web) by selecting the project in the project explorerer and right click and choose properties. Here I choose the compile tab and...
1
1134
by: =?Utf-8?B?U2VhbiBDb25uZXJ5?= | last post by:
Sorry, its Friday and beautiful out.. Anyway, is there a way to ignore specific warnings in the linker like you can with the compiler? I compile with /WX mostly to ensure that people don't accidentally mix runtimes and want the ability to ignore other warnings. Thanks! Sean Connery
0
7911
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.