Moved supression of VS warning C4706 from the include/osg/Export header into the CMake options list. Added suppression of C4127 as well.

This commit is contained in:
Robert Osfield
2009-01-08 10:34:05 +00:00
parent fb75c50714
commit 46eeac4514
2 changed files with 1 additions and 6 deletions

View File

@@ -30,10 +30,6 @@
#pragma warning( disable : 4786 )
#pragma warning( disable : 4305 )
#pragma warning( disable : 4996 )
// suppress warnings about valid if ((variable=expression)) {} usage.
#pragma warning( disable : 4706 )
#endif
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)