ruby-changes:27162
From: nobu <ko1@a...>
Date: Wed, 13 Feb 2013 10:39:23 +0900 (JST)
Subject: [ruby-changes:27162] nobu:r39214 (trunk): configure.in: Werror-implicit-function-declaration
nobu 2013-02-13 10:34:35 +0900 (Wed, 13 Feb 2013) New Revision: 39214 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39214 Log: configure.in: Werror-implicit-function-declaration * configure.in (warnflags): -Werror-implicit-function-declaration haven't been used as-is, but always replaced with -Werror= or -W. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 39213) +++ configure.in (revision 39214) @@ -625,11 +625,9 @@ if test "$GCC:${warnflags+set}:no" = yes https://github.com/ruby/ruby/blob/trunk/configure.in#L625 -Werror=write-strings \ -Werror=declaration-after-statement \ -Werror=shorten-64-to-32 \ - -Werror-implicit-function-declaration \ + -Werror=implicit-function-declaration \ ; do - if test "$particular_werror_flags" = yes; then - wflag=`echo x$wflag | sed 's/^x-Werror-/-Werror=/;s/^x//'` - else + if test "$particular_werror_flags" != yes; then wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'` fi ok=no -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/