From a420911adce13025c5032c118c0b4f49d3ca3ad9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 2 Sep 2008 02:12:21 -0700 Subject: 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. --- bs/config.mk.default | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bs/config.mk.default') 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 -- cgit v1.2.3