瀏覽代碼

Details

Added two warnings to the makefile.
Roberto Ierusalimschy 8 月之前
父節點
當前提交
62afbc6bfc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      makefile

+ 2 - 2
makefile

@@ -15,12 +15,12 @@ CWARNSCPP= \
 	-Wdouble-promotion \
 	-Wdouble-promotion \
 	-Wmissing-declarations \
 	-Wmissing-declarations \
 	-Wconversion \
 	-Wconversion \
+	-Wuninitialized \
+	-Wstrict-overflow=2 \
         # the next warnings might be useful sometimes,
         # the next warnings might be useful sometimes,
 	# but usually they generate too much noise
 	# but usually they generate too much noise
 	# -Werror \
 	# -Werror \
 	# -pedantic   # warns if we use jump tables \
 	# -pedantic   # warns if we use jump tables \
-	# -Wsign-conversion \
-	# -Wstrict-overflow=2 \
 	# -Wformat=2 \
 	# -Wformat=2 \
 	# -Wcast-qual \
 	# -Wcast-qual \