Disable C ++ warning at project level?

I know that you can use #pragmato disable a warning in a specific file, but I want to "disable" a specific warning for the entire VC ++ 2008 project.

I found the option Configuration Properties->C/C++->Advanced->Disable Specific Warnings, but when I entered the numerical warning code and recompiled the .cpp file in the question, the warning was still generated.

+5
source share
2 answers

If your project includes other projects or uses objects from another project, make sure that you add a warning to the project where the warning is. It should always work.

+2

, . C4005.

+1

All Articles