aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato2015-11-26 17:15:09 +0100
committerLuca Barbato2015-12-02 23:49:10 +0100
commitcb49bb10ca7fcff2e382d9d989232b1a7f28e7da (patch)
tree0c4df13c36800c03ae46c23d88e0fca7e5753d7a /configure
parent0fc61c6ab6912a2f0c40fdd3f3c591bc2a33efd4 (diff)
build: Move -Wcast-qual to the extra_warnings
It amounts to about 1/2 of the warnings generated and does not help spotting anything useful.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 16ad102ff4..6ec7586f82 100755
--- a/configure
+++ b/configure
@@ -4649,13 +4649,13 @@ check_cflags -Wall
check_cflags -Wdisabled-optimization
check_cflags -Wpointer-arith
check_cflags -Wredundant-decls
-check_cflags -Wcast-qual
check_cflags -Wwrite-strings
check_cflags -Wtype-limits
check_cflags -Wundef
check_cflags -Wmissing-prototypes
check_cflags -Wstrict-prototypes
enabled extra_warnings && check_cflags -Winline
+enabled extra_warnings && check_cflags -Wcast-qual
check_disable_warning(){
warning_flag=-W${1#-Wno-}