* 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
This commit is contained in:
shugo 2016-11-06 06:58:25 +00:00
Родитель d2101310db
Коммит 53938555eb
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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> Sun Nov 6 14:42:50 2016 takkanm <takkanm@gmail.com>
* eval.c (rb_mod_include, rb_mod_prepend): check if arguments are * eval.c (rb_mod_include, rb_mod_prepend): check if arguments are

Просмотреть файл

@ -824,7 +824,7 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
else else
extra_warning= extra_warning=
fi 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" extra_warning="$extra_warning -Wno-maybe-uninitialized"
fi fi
for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \ for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \