• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版5d878dc80cce86b4e15f04602b40197f7cf9d78a (tree)
时间2018-01-21 20:48:00
作者Waldemar Brodkorb <wbx@ucli...>
CommiterWaldemar Brodkorb

Log Message

supress some gcc warnings

更改概述

差异

--- a/Rules.mak
+++ b/Rules.mak
@@ -562,6 +562,8 @@ endif
562562 WARNING_FLAGS = -Wstrict-prototypes -Wstrict-aliasing
563563 ifeq ($(EXTRA_WARNINGS),y)
564564 WARNING_FLAGS += \
565+ -Wno-nonnull-compare \
566+ -Wnodeclaration-after-statement \
565567 -Wformat=2 \
566568 -Wmissing-noreturn \
567569 -Wmissing-format-attribute \
@@ -571,7 +573,6 @@ WARNING_FLAGS += \
571573 -Wnonnull \
572574 -Wold-style-declaration \
573575 -Wold-style-definition \
574- -Wdeclaration-after-statement \
575576 -Wshadow \
576577 -Wundef
577578 endif