From: Junio C Hamano Date: Mon, 24 Sep 2018 17:30:49 +0000 (-0700) Subject: Merge branch 'jk/dev-build-format-security' X-Git-Tag: v2.20.0-rc0~214 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2bdbe4a2c376ce2d7e8b056b70ce4f1ce92e2d15?hp=4e08e3498a251bf2264132704545e814ff4a64f4 Merge branch 'jk/dev-build-format-security' Build tweak to help developers. * jk/dev-build-format-security: config.mak.dev: add -Wformat-security --- diff --git a/config.mak.dev b/config.mak.dev index 9a998149d9..92d268137f 100644 --- a/config.mak.dev +++ b/config.mak.dev @@ -7,6 +7,7 @@ CFLAGS += -pedantic CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0 endif CFLAGS += -Wdeclaration-after-statement +CFLAGS += -Wformat-security CFLAGS += -Wno-format-zero-length CFLAGS += -Wold-style-definition CFLAGS += -Woverflow