diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-06 06:58:25 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-06 06:58:25 +0000 |
commit | 66e8a6093a1115a5c2c274ba2c3c7be1d96c314b (patch) | |
tree | 720a1a614eab26171d7db95267e177c4c710b985 /configure.in | |
parent | d6e0beea2b7bfa1ae11eb8c33b59ec5e8521cc12 (diff) | |
download | ruby-66e8a6093a1115a5c2c274ba2c3c7be1d96c314b.tar.gz |
* configure.in (-Wno-maybe-uninitialized): gcc 6 also shows the same
warnings as described in r49410.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |