From 0324bc3f5136f1bf4e0e33548998fd1b67bb9cb5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 19 Sep 2003 00:54:38 +0000 Subject: [PATCH] Disable "warning: enumeration value `...' not handled in switch". This is actually a very useful warning, but we use "NUM_FOO" entries in enums too much, we often intentionally have partial switches, and if we4 put a default: in every switch, this warning is pointless. --- stepmania/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 99cfb25d1a..0512b611c0 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -15,8 +15,8 @@ test -z "$LDFLAGS" && DEFAULT_LDFLAGS=yes AC_PROG_CC AC_PROG_CXX -test "$DEFAULT_CFLAGS" = "yes" && CFLAGS="-Wall -W -Wno-unused" -test "$DEFAULT_CXXFLAGS" = "yes" && CXXFLAGS="-Wall -W -Wno-unused" +test "$DEFAULT_CFLAGS" = "yes" && CFLAGS="-Wall -W -Wno-unused -Wno-switch" +test "$DEFAULT_CXXFLAGS" = "yes" && CXXFLAGS="-Wall -W -Wno-unused -Wno-switch" test "$DEFAULT_LDFLAGS" = "yes" && LDFLAGS="" SM_OPENGL