Debug options in Visual C++
-
Is there any way to turn off warnings for visual studio headers while still keeping a high warning level on your project code? I looked briefly in the forums but couldn't find anything that specifically applies.
-
Is there any way to turn off warnings for visual studio headers while still keeping a high warning level on your project code? I looked briefly in the forums but couldn't find anything that specifically applies.
-
Use the
#pragma warning
directives.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!
-
Is there any way to turn off warnings for visual studio headers while still keeping a high warning level on your project code? I looked briefly in the forums but couldn't find anything that specifically applies.
-
Sorry, I guess I wasn't specific enough. VC6 compiler. The warnings are usually like this;
c:\program files\microsoft visual studio\vc98\include\xmemory(39) : warning C4100: '_P' : unreferenced formal parameter c:\program files\microsoft visual studio\vc98\include\xmemory(41) : warning C4100: '_P' : unreferenced formal parameter c:\program files\microsoft visual studio\vc98\include\vector(249) : warning C4663: C++ language change: to explicitly specialize class template 'vector' use the following syntax: template<> class vector > ...
I'm also getting alot of signed/unsigned mismatches and casting warnings. It's ok though, I just modified the offending files with pragma directive and everything seems to be working fine. Thanks! Brent