ruby-changes:53590
From: nobu <ko1@a...>
Date: Mon, 19 Nov 2018 22:21:55 +0900 (JST)
Subject: [ruby-changes:53590] nobu:r65806 (trunk): configure.ac: rename extra_warning as extra_warnflags
nobu 2018-11-19 22:21:48 +0900 (Mon, 19 Nov 2018) New Revision: 65806 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65806 Log: configure.ac: rename extra_warning as extra_warnflags Adjusted to warnflags variable. This variable will have flags for warnings, but not a warning itself. Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 65805) +++ configure.ac (revision 65806) @@ -476,10 +476,10 @@ rb_cv_warnflags="$warnflags" https://github.com/ruby/ruby/blob/trunk/configure.ac#L476 AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], [yes::*|yes:*:set:], [# GCC && (!warnflags || extra_warnflags) AS_IF([test $gcc_major -ge 4], [ - extra_warning="$extra_warning -Werror=extra-tokens" + extra_warnflags="$extra_warnflags -Werror=extra-tokens" ]) AS_IF([test $gcc_major -ge 5 -a $gcc_major -le 6], [ - extra_warning="$extra_warning -Wno-maybe-uninitialized" + extra_warnflags="$extra_warnflags -Wno-maybe-uninitialized" ]) # ICC doesn't support -Werror= AS_IF([test $icc_version -gt 0], [ @@ -514,7 +514,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_ https://github.com/ruby/ruby/blob/trunk/configure.ac#L514 -Wsuggest-attribute=noreturn \ -Wunused-variable \ -diag-disable=175,188,2259 \ - $extra_warning \ + $extra_warnflags \ ; do AS_IF([test "$particular_werror_flags" != yes], [ wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'` -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/