aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-07 18:37:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 18:37:29 +0200
commitb67bb05d05aef568a2614943625386a8cd67690d (patch)
treeb138d175356d8f67adc61af3c37d41c09a6c2745 /configure.ac
parent86d261bdb5cb18665ecd656bf46e502744ce89f8 (diff)
downloadmpd-b67bb05d05aef568a2614943625386a8cd67690d.tar.gz
mpd-b67bb05d05aef568a2614943625386a8cd67690d.tar.xz
mpd-b67bb05d05aef568a2614943625386a8cd67690d.zip
build: enable -Wcast-qual -Wwrite-strings CFLAGS
We're pretty careful about using const these days, so enable these warnings to keep us that way.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5630fe650..c3db4cbc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,8 @@ then
MPD_CHECK_FLAG([-Wshadow])
MPD_CHECK_FLAG([-Wpointer-arith])
MPD_CHECK_FLAG([-Wstrict-prototypes])
+ MPD_CHECK_FLAG([-Wcast-qual])
+ MPD_CHECK_FLAG([-Wwrite-strings])
fi
if test -z "$prefix" || test "x$prefix" = xNONE; then