浏览代码

a few new warnings

Roberto Ierusalimschy 15 年之前
父节点
当前提交
dc4c459546
共有 1 个文件被更改,包括 7 次插入0 次删除
  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 \