Worked out warning flags from gcc manpage

This commit is contained in:
Emil Mikulic 2003-06-04 14:29:28 +00:00
parent 0d755c3618
commit ce7cfceabb

View File

@ -1,12 +1,12 @@
CFLAGS = -pipe -ansi -pedantic -g \ ALLWARNS = -Wall -Wtraditional -Wshadow -Wpointer-arith -Wcast-qual \
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return \
-Wpointer-arith -Winline -Wcast-qual -W \ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-Wbad-function-cast -Wcast-align -Wchar-subscripts -Wshadow \ -Wredundant-decls -Wnested-externs -Wlong-long -Winline
-Wwrite-strings -Wmissing-prototypes
CFLAGS = -pipe -ansi -pedantic -g $(ALLWARNS)
all: all:
gcc -o out $(CFLAGS) darkhttpd.c gcc -o out $(CFLAGS) darkhttpd.c
splint: splint:
splint -skipposixheaders +posixlib +stats darkhttpd.c splint -weak -skipposixheaders +posixlib +stats darkhttpd.c