summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 13:40:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-12 22:57:39 +0300
commitf890d6dd229eb39fe3674258ee054d3e5cf3d185 (patch)
tree49d1fb4184028041f14514fe4805388bf4834995 /configure.in
parentd4345a95adf365bd224061c190e0ccf85cf3c029 (diff)
downloadhercules-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.in4
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>