diff options
author | Marco Peereboom <marco@conformal.com> | 2011-11-04 18:52:14 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-11-04 18:52:14 -0500 |
commit | c3c8375418cf67c32ea74126d0a5b59a740fadb4 (patch) | |
tree | 9388d41f0a3a36027e7bb12317f73033be1626d5 /Makefile | |
parent | 274769cc62835137f90e8b9e23a3dd7aacc2627d (diff) | |
download | xombrero-c3c8375418cf67c32ea74126d0a5b59a740fadb4.tar.gz |
better warnings
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile index e178f9d..ae5fba4 100644 --- a/Makefile +++ b/Makefile @@ -44,15 +44,15 @@ ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h # clang targets .if ${.TARGETS:M*analyze*} -CFLAGS+= -Wdeclaration-after-statement -CFLAGS+= -Wshadow +CFLAGS+= -Wdeclaration-after-statement -Wshadow +CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare CC=clang CXX=clang++ CPP=clang -E CFLAGS+=--analyze .elif ${.TARGETS:M*clang*} -CFLAGS+= -Wdeclaration-after-statement -CFLAGS+= -Wshadow +CFLAGS+= -Wdeclaration-after-statement -Wshadow +CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare CC=clang CXX=clang++ CPP=clang -E |