Setting up Application Project Properties in Visual Studio .NET 2003


Visual Studio C++ Advanced Properties

Here we will examine the C++ Compiler Advanced Properties Tab.



Disable Specific Warnings
This is where you list specific warnings that you want disabled when building this project.

In general, you should avoid globally disabling warnings this way. You should disable them locally with #pragma directives instead. The only time when you may want to disable warnings globally is if you link to a library that invokes such compiler warnings. The control of such warnings are out of your hands.

   #pragma warning(push)
   #pragma warning(disable : warning_number)
    ...
   #pragma warning(pop)




<< Previous

:: Index ::

Next >>