1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: -Wno-maybe-uninitialized

* configure.in (warnflags): add -Wno-maybe-uninitialized for gcc
  5, to suppress false warnings in thread.c:do_select().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-01-26 07:20:34 +00:00
parent 44bf6684fd
commit 79cab4f31e

View file

@ -791,6 +791,9 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
else else
extra_warning= extra_warning=
fi fi
if test $gcc_major -eq 5; then
extra_warning="$extra_warning -Wno-maybe-uninitialized"
fi
for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \ for wflag in -Wno-unused-parameter -Wno-parentheses -Wno-long-long \
-Wno-missing-field-initializers \ -Wno-missing-field-initializers \
-Wunused-variable \ -Wunused-variable \