How to suppress linker warning lnk4204

  • Thread starter Philipp Staempfli
  • Start date
P

Philipp Staempfli

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

Philipp Staempfli

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
 
B

Baresi der Libero

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_10_0_0_153000/How-to-suppress-linker-warning-lnk4204.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top