Commit a569bc0
committed
add include/ruby/backward/cxxanyargs.hpp
Compilation of extension libraries written in C++ are reportedly
broken due to #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.1 parent d6a94cf commit a569bc0
File tree
5 files changed
+399
-6
lines changed- include/ruby
- backward
- template
- tool
5 files changed
+399
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
950 | 965 | | |
951 | 966 | | |
952 | 967 | | |
953 | 968 | | |
954 | 969 | | |
955 | 970 | | |
956 | | - | |
957 | 971 | | |
958 | 972 | | |
959 | 973 | | |
| |||
976 | 990 | | |
977 | 991 | | |
978 | 992 | | |
979 | | - | |
980 | 993 | | |
981 | 994 | | |
982 | 995 | | |
983 | 996 | | |
984 | 997 | | |
985 | 998 | | |
986 | | - | |
987 | 999 | | |
988 | 1000 | | |
989 | 1001 | | |
| |||
0 commit comments