From c25294ad3ba1252a0d77bf63a27758a0eee4259e Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 9 Apr 2006 22:09:24 +0000 Subject: Another round of cleanups: - Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp. --- maintMakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'maintMakefile') diff --git a/maintMakefile b/maintMakefile index 2bafbc2..457a39e 100644 --- a/maintMakefile +++ b/maintMakefile @@ -3,7 +3,10 @@ # tree, not a dist copy. # We like mondo-warnings! -AM_CFLAGS += -Wall -W +AM_CFLAGS += -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wbad-function-cast + +# I want this one but I have to wait for the const cleanup! +# -Wwrite-strings # Find the glob source files... this might be dangerous, but we're maintainers! globsrc := $(wildcard glob/*.c) -- cgit v1.2.3