]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Stop opting out of -Wswitch-enum and -Wswitch-default
authorSimon McVittie <smcv@collabora.com>
Fri, 24 Mar 2017 19:41:10 +0000 (19:41 +0000)
committerSimon McVittie <smcv@collabora.com>
Fri, 7 Apr 2017 13:02:52 +0000 (14:02 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191

configure.ac

index 160e4516553dd0dc5e746ba8c8ac51875750e423..97f5ff2b134264222adbfbbcbfa47277fa815087 100644 (file)
@@ -1364,14 +1364,6 @@ AS_IF([test "x$enable_ansi" = "xyes"],[
     AC_DEFINE([_BSD_SOURCE],[1],[Define to enable BSD features])
   ])
 
-dnl TODO: The compiler flags below disable warnings that the
-dnl       compiler emits while building dbus. Fix the source
-dnl       code and remove these flags.
-DISABLE_WARNINGS="$DISABLE_WARNINGS
-                  -Wno-switch-default
-                  -Wno-switch-enum
-                  "
-
 dnl We are only calling this for its side-effect of setting up
 dnl --enable-compile-warnings; the WARN_CFLAGS, etc. are ignored,
 dnl to work around https://github.com/peti/autoconf-archive/pull/96