diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 13:40:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-12 22:57:39 +0300 |
commit | f890d6dd229eb39fe3674258ee054d3e5cf3d185 (patch) | |
tree | 49d1fb4184028041f14514fe4805388bf4834995 /configure.in | |
parent | d4345a95adf365bd224061c190e0ccf85cf3c029 (diff) | |
download | hercules-f890d6dd229eb39fe3674258ee054d3e5cf3d185.tar.gz hercules-f890d6dd229eb39fe3674258ee054d3e5cf3d185.tar.bz2 hercules-f890d6dd229eb39fe3674258ee054d3e5cf3d185.tar.xz hercules-f890d6dd229eb39fe3674258ee054d3e5cf3d185.zip |
Enable warning format-security.
It was blocked in configure.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 685e256cb..1f2001981 100644 --- a/configure.in +++ b/configure.in @@ -756,10 +756,10 @@ AC_CHECK_COMPILER_WFLAG(enum-conversion) AC_CHECK_COMPILER_WFLAG(shorten-64-to-32) AC_CHECK_COMPILER_WFLAG(constant-conversion) AC_CHECK_COMPILER_WFLAG(bool-conversion) +AC_CHECK_COMPILER_WFLAG(format-security) +AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) AC_CHECK_COMPILER_WNOFLAG(switch) AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers) -AC_CHECK_COMPILER_WNOFLAG(format-security) -AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) # Certain versions of gcc make -Wshadow completely useless by making it flood # you with unnecessary warnings <https://lkml.org/lkml/2006/11/28/239> |