summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-12 23:24:01 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-11-13 22:19:18 +0100
commitbec630c34753f7fbbac8712661b596ff5a76b7c1 (patch)
tree633035ee2654d301ed9a13dd83f006b7cab173b5 /configure
parent9203f06cf32a260f0ed4209eb744c58e0e6db47b (diff)
downloadmpv-bec630c34753f7fbbac8712661b596ff5a76b7c1.tar.bz2
mpv-bec630c34753f7fbbac8712661b596ff5a76b7c1.tar.xz
clang: fix all warnings except deprecations
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7ebadc28b6..91a16bfcbe 100755
--- a/configure
+++ b/configure
@@ -1162,7 +1162,7 @@ if test -z "$CFLAGS" ; then
WARNFLAGS="-wd167 -wd556 -wd144"
elif test "$cc_vendor" = "clang"; then
CFLAGS="$_opt $_debug $_profile $_march $_pipe"
- WARNFLAGS="-Wall -Wno-switch-enum -Wno-logical-op-parentheses -Wpointer-arith -Wundef -Wno-pointer-sign -Wmissing-prototypes"
+ WARNFLAGS="-Wall -Wno-switch -Wno-logical-op-parentheses -Wpointer-arith -Wundef -Wno-pointer-sign -Wmissing-prototypes"
ERRORFLAGS="-Werror=implicit-function-declaration"
elif test "$cc_vendor" != "gnu" ; then
CFLAGS="$_opt $_debug $_profile $_march $_mcpu $_pipe"