From a569bc09e25a2ba813d0bec1228d9ff65330a3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Thu, 5 Sep 2019 23:50:45 +0900 Subject: 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. --- template/Doxyfile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/Doxyfile.tmpl') diff --git a/template/Doxyfile.tmpl b/template/Doxyfile.tmpl index 0f7675381d..2fc882edd9 100644 --- a/template/Doxyfile.tmpl +++ b/template/Doxyfile.tmpl @@ -102,7 +102,7 @@ WARN_LOGFILE = # configuration options related to the input files #--------------------------------------------------------------------------- INPUT_ENCODING = UTF-8 -FILE_PATTERNS = *.c *.h *.y *.def +FILE_PATTERNS = *.c *.h *.hpp *.y *.def RECURSIVE = YES EXCLUDE = <%=srcdir%>/ext/dl/callback <%=srcdir%>/ccan <%=srcdir%>/ext/psych/yaml EXCLUDE_SYMLINKS = YES -- cgit v1.2.1