469,331 Members | 4,506 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

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\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
Nov 16 '05 #1
3 12088

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\vc70.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Krishna Srinivasan | last post: by
reply views Thread by TGF | last post: by
9 posts views Thread by Doug Ly | last post: by
1 post views Thread by Bill Sun | last post: by
4 posts views Thread by J Swift | last post: by
5 posts views Thread by Tanja Krammer | last post: by
2 posts views Thread by Oneironaut | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.