summaryrefslogtreecommitdiff
path: root/ext/-test-/cxxanyargs/cxxanyargs.cpp
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-09-05 23:50:45 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-09-06 15:50:58 +0900
commita569bc09e25a2ba813d0bec1228d9ff65330a3db (patch)
treeb8bb974a90c1d0685633c7ec6728b86b3dcaef99 /ext/-test-/cxxanyargs/cxxanyargs.cpp
parentd6a94cffda6763c7ad3ac3830dcfe6a87e405fe4 (diff)
add include/ruby/backward/cxxanyargs.hpp
Compilation of extension libraries written in C++ are reportedly broken due to https://github.com/ruby/ruby/pull/2404 The root cause of this issue was that the definition of ANYARGS differ between C and C++, and that of C++ is incompatible with the updated ones. We are using the incompatibility against itself. In C++ two distinct function prototypes can be overloaded. We provide the old, ANYARGSed prototypes in addition to the current granular ones; and let the older ones warn about types.
Diffstat (limited to 'ext/-test-/cxxanyargs/cxxanyargs.cpp')
0 files changed, 0 insertions, 0 deletions