Is there a way to set a pragma disable warning for visual studio for an entire solution?
C++ – way to set a pragma disable warning for visual studio for an entire solution
cpragmavisual c++
Related Topic
- C++ – The Definitive C++ Book Guide and List
- C++ – What does the C++ standard state the size of int, long type to be
- Visual-studio – “stdafx.h” used for in Visual Studio
- C++ – How to disable a particular unknown #pragma warning? (GCC and/or clang)
- C++ – Disable single warning error
- C++ – Why are elementwise additions much faster in separate loops than in a combined loop
- How to embed a flash video on a web page
Best Answer
Use the /w compiler switch for per-project suppression. I'm not aware of any way to do it solution wide without selecting all projects and adding it to the command-line for each project (which can be done in one operation).