disable broken warning

This commit is contained in:
Glenn Maynard
2004-11-08 07:08:02 +00:00
parent ec4090a3eb
commit aef954a91b
@@ -55,6 +55,9 @@ static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
#pragma warning (disable : 4201) // nonstandard extension used : nameless struct/union (Windows headers do this)
#pragma warning (disable : 4786) // turn off broken debugger warning
#pragma warning (disable : 4512) // assignment operator could not be generated (so?)
/* "unreachable code". This warning crops up in incorrect places (end of do ... while(0)
* blocks, try/catch blocks), and I've never found it to be useful. */
#pragma warning (disable : 4702) // assignment operator could not be generated (so?)
/* "unreferenced formal parameter"; we *want* that in many cases */
#pragma warning (disable : 4100)
/* "case 'aaa' is not a valid value for switch of enum 'bbb'