From 301f930efc319715e19f1bcfa9f1494ef5c595a7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 24 Mar 2017 19:41:10 +0000 Subject: [PATCH 16/16] Stop opting out of -Wswitch-enum and -Wswitch-default Signed-off-by: Simon McVittie --- configure.ac | 8 -------- 1 file changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index 160e4516..97f5ff2b 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.11.0