提交 2bdbe4a2 编写于 作者: J Junio C Hamano

Merge branch 'jk/dev-build-format-security'

Build tweak to help developers.

* jk/dev-build-format-security:
  config.mak.dev: add -Wformat-security
...@@ -7,6 +7,7 @@ CFLAGS += -pedantic ...@@ -7,6 +7,7 @@ CFLAGS += -pedantic
CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0 CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
endif endif
CFLAGS += -Wdeclaration-after-statement CFLAGS += -Wdeclaration-after-statement
CFLAGS += -Wformat-security
CFLAGS += -Wno-format-zero-length CFLAGS += -Wno-format-zero-length
CFLAGS += -Wold-style-definition CFLAGS += -Wold-style-definition
CFLAGS += -Woverflow CFLAGS += -Woverflow
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册