Added supression VS warning "C4706: assignment within conditional expression" thanks gets spat out even for perfectly valid if ((variable=expression)) {} usage.
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
#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__)
|
||||
|
||||
Reference in New Issue
Block a user