From aef954a91b81f4095970692f4b40d831137e986f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 8 Nov 2004 07:08:02 +0000 Subject: [PATCH] disable broken warning --- stepmania/src/archutils/Win32/arch_setup.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/archutils/Win32/arch_setup.h b/stepmania/src/archutils/Win32/arch_setup.h index 69e83e32f3..57e0926c07 100644 --- a/stepmania/src/archutils/Win32/arch_setup.h +++ b/stepmania/src/archutils/Win32/arch_setup.h @@ -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'