473,883 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to suppress linker warning lnk4204

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\v c70.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 to include a
"/ignore 4204" in "Property->Linker->Command Line", unfortunatly
without success...
Can anybody please give me a hint how to "turn off" these warnings?

Tanks a lot

Ph. Staempfli
Nov 16 '05 #1
3 12419

Maiby try to compile your libs with debug info?
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\v c70.pdb' is missing debugging
information for referencing module; linking object as if no debug info
---


Nov 16 '05 #2
> Maiby try to compile your libs with debug info?

The problem is, that I don't hae the source code of these libs.... So,
do you have another suggestion?
Thanks Philipp
Nov 16 '05 #3
Additional info on 'warning LNK 4204': It is also seen after a 'rebuild solution', if two .vcproj-Files share the same intermediate-output directory and there is a conflict in accessing the same 'Program Database File Name' (vc70.pdb).
Solution:
a. change the intermediate Output dir for one .vcproj (tbf under 'Configuration Properties > General > Intermediate Directory')
or
b. change the name of the 'Program Database File Name' to something different than vc70.pdb. (tbf under 'Configuration Properties > C/C++ > Output Files > Program Database File Name')

From http://developmentnow.com/g/42_2003_...ng-lnk4204.htm

Posted via DevelopmentNow. com Groups
http://www.developmentnow.com
Nov 17 '05 #4

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

Similar topics

6
40415
by: Krishna Srinivasan | last post by:
I have a form with check boxes. When accessing a check box element that is not checked, I get a notice (Notice: Undefined variable..). Is there a way to hide these notices and warning in PHP code without having to modify the PHP.ini file? Krishna Srinivasan.
0
1821
by: TGF | last post by:
Hello, I am creating a console app. I try to link a static library by including it in the Linker-Input-Additional Dependencies field under the Project properties. Then I specify the path to the library in Linker-General-Addition Library Directories field under the Project options. The first question I have is....is this the correct way to include a static library. If not, then what is the correct way to do it (I need to make .NET...
0
1640
by: TGF | last post by:
Hello, I am creating a console app. I try to link a static library by including it in the Linker-Input-Additional Dependencies field under the Project properties. Then I specify the path to the library in Linker-General-Addition Library Directories field under the Project options. The first question I have is....is this the correct way to include a static library. If not, then what is the correct way to do it (I need to make .NET...
9
12251
by: Doug Ly | last post by:
Hi, When I run this query using WinSQL to connect to a DB2 database, it gave me the warning: Error: SQLSTATE 01003: Null values were eliminated from the argument of a column function. (State:01003, Native Code: 0) Is there anyway to suppress this message in my report? Thanks
1
1640
by: Bill Sun | last post by:
Hi, Who can tell me how to turn off the annoying link warning, like this: Xxxx.lib(read_dose.obj) : warning LNK4204: '......xxxx\vc70.pdb' is missing debugging information for referencing module; linking object as if no debug info Thanks advanced, Bill
4
12798
by: J Swift | last post by:
I posted this question earlier but on the wrong usenet. I have a warning below that I need to suppress *warning C4018: '<' : signed/unsigned mismatch I searched google, Microsoft help and MSDN for an answer but no luck. I don't want to fix the cause because it's how the program is supposed to work. It's part of an example in a text and the example suppresses a similar warning in Borland. I am sure there must be a way to do this in...
5
5393
by: Tanja Krammer | last post by:
Hi experts, is it possible to disable linker warnings (i.e. LNK4204)? Thanx
3
11576
by: Chris Shenton | last post by:
I am setting up handlers to log DEBUG and above to a rotating file and ERROR and above to console. But if any of my code calls a logger (e.g., logging.error("foo")) before I setup my handlers, the logging system will create a default logger that *also* emits logs, which I can't seem to get rid of. Is there a way I can suppress the creation of this default logger, or remove it when I 'm setting up my handlers? Thanks. Sample code:
2
2795
by: Oneironaut | last post by:
Hello friends, I have an issue with a linker warning. It is the warning LNK4089. I am working in MSVC6.0 I investigated and this warning tells that the import of the library to which it makes reference is redundant, thus the linker ignores that library in order to make the code smaller. As it is expected, it only appears for release versions.
0
9933
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9779
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11114
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10730
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9563
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7960
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4605
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
2
4205
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3230
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.