473,466 Members | 1,360 Online
Bytes | Software Development & Data Engineering Community
Create 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 5367
> 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**********************@hotmail.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**********************@hotmail.com> schrieb im
Newsbeitrag news:eU**************@tk2msftngp13.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**********************@hotmail.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**********************@hotmail.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**********************@hotmail.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
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...
3
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>...
4
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? ...
2
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...
3
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...
1
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...
1
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...
2
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...
1
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
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...
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.