Skip to content

Commit 74ae065

Browse files
committed
Merge branch 'jk/dev-build-format-security'
Earlier we added "-Wformat-security" to developer builds, assuming that "-Wall" (which includes "-Wformat" which in turn is required to use "-Wformat-security") is always in effect. This is not true when config.mak.autogen is in use, unfortunately. This has been fixed by unconditionally adding "-Wall" to developer builds. * jk/dev-build-format-security: config.mak.dev: add -Wall, primarily for -Wformat, to help autoconf users
2 parents 77fbd96 + 6163f3f commit 74ae065

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CFLAGS += -pedantic
66
# don't warn for each N_ use
77
CFLAGS += -DUSE_PARENS_AROUND_GETTEXT_N=0
88
endif
9+
CFLAGS += -Wall
910
CFLAGS += -Wdeclaration-after-statement
1011
CFLAGS += -Wformat-security
1112
CFLAGS += -Wno-format-zero-length

0 commit comments

Comments
 (0)