c++ - How to configure Visual Studio not to output warnings from libraries? -


is there way prevent visual studio printing out warnings included libraries?

\wall gives me loads of warnings stl , qt headers, although want see originating own code (i.e. code part of current visual studio project).

you can use pragma set warning levels each file.

so before include

#pragma warning( push ) #pragma warning( disable : 4705 ) #pragma warning( disable : 4706 ) #pragma warning( disable : 4707 ) // code  #include files here  #pragma warning( pop )  

more information here: http://msdn.microsoft.com/en-us/library/2c8f766e%28v=vs.80%29.aspx


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -