[前][次][番号順一覧][スレッド一覧]

ruby-changes:28078

From: nobu <ko1@a...>
Date: Fri, 5 Apr 2013 21:39:11 +0900 (JST)
Subject: [ruby-changes:28078] nobu:r40130 (trunk): configure.in: -Werror=extra-tokens

nobu	2013-04-05 21:34:43 +0900 (Fri, 05 Apr 2013)

  New Revision: 40130

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40130

  Log:
    configure.in: -Werror=extra-tokens
    
    * configure.in (warnflags): bail out at extra tokens, instead
      continuing with lots of warnings.

  Modified files:
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 40129)
+++ configure.in	(revision 40130)
@@ -672,6 +672,7 @@ if test "$GCC:${warnflags+set}:no" = yes https://github.com/ruby/ruby/blob/trunk/configure.in#L672
 		 -Werror=declaration-after-statement \
 		 -Werror=shorten-64-to-32 \
 		 -Werror=implicit-function-declaration \
+		 -Werror=extra-tokens \
 		 ; do
 	if test "$particular_werror_flags" != yes; then
 	    wflag=`echo x$wflag | sed 's/^x-Werror=/-W/;s/^x//'`

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]