diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp index 28d99b98ba..51be7ca6d0 100644 --- a/ext/-test-/cxxanyargs/cxxanyargs.cpp +++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp @@ -335,7 +335,7 @@ namespace test_rb_ivar_foreach { } } -void +extern "C" void Init_cxxanyargs(void) { VALUE b = rb_define_module("Bug");