Skip to content
Posted on:October 28, 2010 at 01:41 AM

Suppressing Visual Studio 2008 Warnings

Suppressing Visual Studio 2008 Warnings

Warning:

Command line warning D9035 : option 'Wp64' has been deprecated
 and will be removed in a future release.

Solution:

  1. Open Project Settings.
  2. From the left menu, select C/C++->General and then find Detect 64-bit Portability Errors.
  3. Set the value to “No“.
  4. Now the warnings will be disappeared.
    • *Warning:

warning LNK4204: 'c:myprojecttLibDebugvc90.pdb' is missing debugging information 
for referencing module; linking object as if no debug info	tlib9D.lib

Solution:

  1. Open Project Settings of your dll project. In here, this will be “tlib” project.
  2. From the left menu, select C/C++ -> Output Files and then find Program Database File.
  3. Change the value to “$(TargetDir)$(TargetName).pdb” from “$(IntDir)vc90.pdb”.
  4. Rebuild the library and the warnings will be disappeared.
C/C++ -> Output Files
Program Database File
Web Analytics