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.
This commit is contained in:
Eric Wong
2008-09-07 18:37:29 +02:00
committed by Max Kellermann
parent 86d261bdb5
commit b67bb05d05
2 changed files with 4 additions and 1 deletions

View File

@@ -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