diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-07 18:37:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 18:37:29 +0200 |
commit | b67bb05d05aef568a2614943625386a8cd67690d (patch) | |
tree | b138d175356d8f67adc61af3c37d41c09a6c2745 /bs | |
parent | 86d261bdb5cb18665ecd656bf46e502744ce89f8 (diff) | |
download | mpd-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 'bs')
-rw-r--r-- | bs/config.mk.default | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bs/config.mk.default b/bs/config.mk.default index 765cda236..52c5829d6 100644 --- a/bs/config.mk.default +++ b/bs/config.mk.default @@ -10,7 +10,8 @@ CC = gcc CFLAGS = -O2 -Wall \ -Wmissing-prototypes -Wextra -Wno-unused-parameter \ -Wno-deprecated-declarations -Wmissing-prototypes \ - -Wdeclaration-after-statement -Wshadow + -Wdeclaration-after-statement -Wshadow -Wpointer-arith \ + -Wstrict-prototypes -Wcast-qual -Wwrite-strings LDFLAGS = -Wl,-O1 |