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:

committed by
Max Kellermann

parent
86d261bdb5
commit
b67bb05d05
@@ -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
|
||||
|
Reference in New Issue
Block a user