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

ruby-changes:67093

From: Nobuyoshi <ko1@a...>
Date: Mon, 9 Aug 2021 19:25:50 +0900 (JST)
Subject: [ruby-changes:67093] 9ed196e487 (master): VC warns the same attribute used more than once

https://git.ruby-lang.org/ruby.git/commit/?id=9ed196e487

From 9ed196e4876dd15991feee27e7dce1b67783060f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 9 Aug 2021 18:16:24 +0900
Subject: VC warns the same attribute used more than once

---
 include/ruby/backward/cxxanyargs.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ruby/backward/cxxanyargs.hpp b/include/ruby/backward/cxxanyargs.hpp
index 92b0a68..05f1f27 100644
--- a/include/ruby/backward/cxxanyargs.hpp
+++ b/include/ruby/backward/cxxanyargs.hpp
@@ -190,7 +190,7 @@ rb_define_hooked_variable(const char *q, VALUE *w, std::nullptr_t e, void_type * https://github.com/ruby/ruby/blob/trunk/include/ruby/backward/cxxanyargs.hpp#L190
 /// @name Exceptions and tag jumps
 /// @{
 
-RUBY_CXX_DEPRECATED("by rb_block_call since 1.9")
+// RUBY_CXX_DEPRECATED("by rb_block_call since 1.9")
 RUBY_CXX_DEPRECATED("Use of ANYARGS in this function is deprecated")
 /// @brief       Old way to implement iterators.
 /// @param[in]   q  A function that can yield.
-- 
cgit v1.1


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

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