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

ruby-changes:31625

From: nobu <ko1@a...>
Date: Mon, 18 Nov 2013 13:04:45 +0900 (JST)
Subject: [ruby-changes:31625] nobu:r43704 (trunk): configure.in: -Werror=division-by-zero

nobu	2013-11-18 13:04:41 +0900 (Mon, 18 Nov 2013)

  New Revision: 43704

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

  Log:
    configure.in: -Werror=division-by-zero
    
    * configure.in (warnflags): make division-by-zero error for
      RUBY_CONST_ASSERT macro.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 43703)
+++ configure.in	(revision 43704)
@@ -715,6 +715,7 @@ if test "$GCC:${warnflags+set}:no" = yes https://github.com/ruby/ruby/blob/trunk/configure.in#L715
 		 -Werror=declaration-after-statement \
 		 -Werror=shorten-64-to-32 \
 		 -Werror=implicit-function-declaration \
+		 -Werror=division-by-zero \
 		 $extra_warning \
 		 ; do
 	if test "$particular_werror_flags" != yes; then

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

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