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

ruby-changes:69474

From: Nobuyoshi <ko1@a...>
Date: Wed, 27 Oct 2021 16:28:21 +0900 (JST)
Subject: [ruby-changes:69474] 5ff47e0c8a (master): Check old-style definitions

https://git.ruby-lang.org/ruby.git/commit/?id=5ff47e0c8a

From 5ff47e0c8a97940a6f77f961ab43ebea87256dfa Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 27 Oct 2021 13:19:52 +0900
Subject: Check old-style definitions

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 610143fe344..490fe5d94aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -636,6 +636,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L636
 		 -Werror=pointer-arith \
 		 -Werror=shorten-64-to-32 \
 		 -Werror=write-strings \
+		 -Werror=old-style-definition \
 		 -Wimplicit-fallthrough=0 \
 		 -Wmissing-noreturn \
 		 -Wno-cast-function-type \
-- 
cgit v1.2.1


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

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