diff options
author | Zoltan Varga <vargaz@gmail.com> | 2012-02-29 16:03:32 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2012-02-29 20:50:29 +0400 |
commit | df6eff26912f4e5ebff2f81158f2fca1566454df (patch) | |
tree | 5e9fa55843d1f7f7c5c0ec5a5ee73be248e68975 | |
parent | 0aedc3f6fb2194817c766659c50a7e7f4786672e (diff) |
Disable -Wswitch-enum, its part of -Wall for clang.
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index f7c9745f347..e99cc2f8b7b 100644 --- a/configure.in +++ b/configure.in @@ -485,7 +485,7 @@ AC_CHECK_SIZEOF(void *, 4) WARN='' if test x"$GCC" = xyes; then - WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings' + WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch-enum' # The runtime code does not respect ANSI C strict aliasing rules CFLAGS="$CFLAGS -fno-strict-aliasing" |