6 CFLAGS+=" -Wbad-function-cast"
7 #CFLAGS+=" -Wcast-align"
8 CFLAGS+=" -Wchar-subscripts"
9 CFLAGS+=" -Wempty-body"
11 CFLAGS+=" -Wformat-security"
12 CFLAGS+=" -Winit-self"
14 CFLAGS+=" -Wmissing-declarations"
15 CFLAGS+=" -Wmissing-include-dirs"
16 CFLAGS+=" -Wmissing-prototypes"
17 CFLAGS+=" -Wnested-externs"
18 CFLAGS+=" -Wold-style-definition"
19 CFLAGS+=" -Wpointer-arith"
20 CFLAGS+=" -Wredundant-decls"
22 CFLAGS+=" -Wstrict-prototypes"
23 CFLAGS+=" -Wswitch-enum"
25 CFLAGS+=" -Wuninitialized"
27 CFLAGS+=" -Wwrite-strings"
28 CFLAGS+=" -fdiagnostics-color=auto"
30 # warnings disabled on purpose
31 CFLAGS+=" -Wno-unused-parameter"
32 CFLAGS+=" -Wno-unused-function"
33 CFLAGS+=" -Wno-deprecated-declarations"
35 # should be removed and the code fixed
36 CFLAGS+=" -Wno-incompatible-pointer-types-discards-qualifiers"