]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
drd/Makefile.am: Add -Wswitch-enum
authorBart Van Assche <bvanassche@acm.org>
Thu, 18 Sep 2014 06:54:52 +0000 (06:54 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 18 Sep 2014 06:54:52 +0000 (06:54 +0000)
Hopefully one day this compiler flag can be enabled for the entire Valgrind
code base.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14548

drd/Makefile.am

index 3b0771b1251911cf177a17e974b0d0573baee83a..9ba4c58e00ad44239a98cf94616b4fe066a23511 100644 (file)
@@ -38,6 +38,7 @@ DRD_CFLAGS =                          \
   -O2                                  \
   @FLAG_W_EXTRA@                       \
   -Wformat-nonliteral                  \
+  -Wswitch-enum                                \
   -Wno-inline                          \
   -Wno-unused-parameter