ruby-changes:57610
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 6 Sep 2019 16:53:35 +0900 (JST)
Subject: [ruby-changes:57610] 1851dc269c (master): avoid name mangling
https://git.ruby-lang.org/ruby.git/commit/?id=1851dc269c From 1851dc269cb7a957fcb1fe2e97b7b76c2a52d096 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: Fri, 6 Sep 2019 16:50:57 +0900 Subject: avoid name mangling Otherwise the dynamic linker cannot find this function. See also https://ci.appveyor.com/project/ruby/ruby/builds/27224231/job/4pg6lxlsnsjotu2l diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp index 28d99b9..51be7ca 100644 --- a/ext/-test-/cxxanyargs/cxxanyargs.cpp +++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp @@ -335,7 +335,7 @@ namespace test_rb_ivar_foreach { https://github.com/ruby/ruby/blob/trunk/ext/-test-/cxxanyargs/cxxanyargs.cpp#L335 } } -void +extern "C" void Init_cxxanyargs(void) { VALUE b = rb_define_module("Bug"); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/