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

ruby-changes:67128

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 12 Aug 2021 11:29:33 +0900 (JST)
Subject: [ruby-changes:67128] 1cdc75104d (master): RBIMPL_ATTR_DEPRECATED: enable for GCC 10.3+

https://git.ruby-lang.org/ruby.git/commit/?id=1cdc75104d

From 1cdc75104de1caa048d6eace3422b36dd69e6d70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Thu, 12 Aug 2021 09:40:38 +0900
Subject: RBIMPL_ATTR_DEPRECATED: enable for GCC 10.3+

They fixed the bug.
---
 include/ruby/internal/attr/deprecated.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ruby/internal/attr/deprecated.h b/include/ruby/internal/attr/deprecated.h
index 8bc1db5..874e416 100644
--- a/include/ruby/internal/attr/deprecated.h
+++ b/include/ruby/internal/attr/deprecated.h
@@ -35,7 +35,7 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/attr/deprecated.h#L35
 #elif RBIMPL_HAS_EXTENSION(attribute_deprecated_with_message)
 # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
 
-#elif defined(__cplusplus) && RBIMPL_COMPILER_SINCE(GCC, 10, 1, 0) /* && RBIMPL_COMPILER_BEFORE(GCC, 10, X, Y) */
+#elif defined(__cplusplus) && RBIMPL_COMPILER_SINCE(GCC, 10, 1, 0) && RBIMPL_COMPILER_BEFORE(GCC, 10, 3, 0)
 # /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 */
 # define RBIMPL_ATTR_DEPRECATED(msg) /* disable until they fix this bug */
 
-- 
cgit v1.1


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

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