Browse Source

a few new warnings

Roberto Ierusalimschy 15 years ago
parent
commit
dc4c459546
1 changed files with 7 additions and 0 deletions
  1. 7 0
      makefile

+ 7 - 0
makefile

@@ -17,6 +17,13 @@ CWARNS= -pedantic -Wextra \
 	-Wstrict-prototypes \
 	-Wundef \
 	-Wwrite-strings \
+	-Wc++-compat \
+	-Wold-style-definition \
+	-Wredundant-decls \
+	-Wdisabled-optimization \
+	# -Wlogical-op \
+	# -Wformat=2 \
+	# -Wstrict-overflow=5 \
 	#  -Wcast-qual \