summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0034e497eb..4d1de76d3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 6 15:53:03 2016 Shugo Maeda <shugo@ruby-lang.org>
+
+ * configure.in (-Wno-maybe-uninitialized): gcc 6 also shows the same
+ warnings as described in r49410.
+
Sun Nov 6 14:42:50 2016 takkanm <takkanm@gmail.com>
* eval.c (rb_mod_include, rb_mod_prepend): check if arguments are
diff --git a/configure.in b/configure.in
index 1fdbc28afd..fea39e2986 100644
--- a/configure.in
+++ b/configure.in
@@ -824,7 +824,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
else
extra_warning=
fi
- if test $gcc_major -eq 5; then
+ if test $gcc_major -ge 5 -a $gcc_major -le 6; then
extra_warning="$extra_warning -Wno-maybe-uninitialized"
fi
for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \