ruby-changes:67836
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Sep 2021 20:02:33 +0900 (JST)
Subject: [ruby-changes:67836] 4f03930d04 (master): ruby_cleanup: fix MSVC compile error
https://git.ruby-lang.org/ruby.git/commit/?id=4f03930d04 From 4f03930d04a0185ee9057ee314cfb79eb5a1b73a 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, 9 Sep 2021 11:12:33 +0900 Subject: ruby_cleanup: fix MSVC compile error See https://ci.appveyor.com/project/ruby/ruby/builds/40686153/job/1wihxw5m5kybtohj --- include/ruby/internal/interpreter.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/ruby/internal/interpreter.h b/include/ruby/internal/interpreter.h index f8dd9bf..662d39c 100644 --- a/include/ruby/internal/interpreter.h +++ b/include/ruby/internal/interpreter.h @@ -168,11 +168,7 @@ int ruby_setup(void); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/interpreter.h#L168 * @retval ex Successful cleanup. * @note This function does not raise any exception. */ -int ruby_cleanup( -#if !defined(__cplusplus) || __cplusplus <= 201704L - volatile /* C++20 killed volatile. cf: http://wg21.link/P1152 */ -#endif - int ex); +int ruby_cleanup(int ex); /** * Runs the VM finalization processes. -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/