summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-03 15:51:33 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-03 15:51:33 +0000
commit1c486c588e0037f4c5645317da3202c6e77ba66c (patch)
tree933ceedf807240a06914b8946a85612aa12009ee /gcc/configure.ac
parent7a3e391a33130d8cee8d763978b6fdc7b0ffd8ea (diff)
downloadgcc-1c486c588e0037f4c5645317da3202c6e77ba66c.tar.gz
* configure.ac (strict_warn): Merge -Wmissing-format-attribute and
-Woverloaded-virtual checks for warning options. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240721 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index fa789d529d7..338956f644a 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -476,14 +476,14 @@ AC_ARG_ENABLE(build-format-warnings,
AS_IF([test $enable_build_format_warnings = no],
[wf_opt=-Wno-format],[wf_opt=])
ACX_PROG_CXX_WARNING_OPTS(
- m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual $wf_opt])), [loose_warn])
+ m4_quote(m4_do([-W -Wall -Wno-narrowing -Wwrite-strings ],
+ [-Wcast-qual $wf_opt])), [loose_warn])
ACX_PROG_CC_WARNING_OPTS(
m4_quote(m4_do([-Wstrict-prototypes -Wmissing-prototypes])),
[c_loose_warn])
ACX_PROG_CXX_WARNING_OPTS(
- m4_quote(m4_do([-Wmissing-format-attribute])), [strict_warn])
-ACX_PROG_CXX_WARNING_OPTS(
- m4_quote(m4_do([-Woverloaded-virtual])), [strict_warn])
+ m4_quote(m4_do([-Wmissing-format-attribute ],
+ [-Woverloaded-virtual])), [strict_warn])
ACX_PROG_CC_WARNING_OPTS(
m4_quote(m4_do([-Wold-style-definition -Wc++-compat])), [c_strict_warn])
ACX_PROG_CXX_WARNING_ALMOST_PEDANTIC(