mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Worked out warning flags from gcc manpage
This commit is contained in:
parent
0d755c3618
commit
ce7cfceabb
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user