summaryrefslogtreecommitdiff
path: root/ext/-test-/cxxanyargs
AgeCommit message (Collapse)Author
2021-11-21Update dependenciesNobuyoshi Nakada
2021-06-13Check if alternative malloc header can work in C++Nobuyoshi Nakada
jemalloc (5.2.1 at least) cannot compile in C++ on macOS SDK, due to conflicts on exception specification.
2020-08-21ext/-test-/cxxanyargs: suppress SunPro warning卜部昌平
I found a way to suppress particular kind of warnings via pragmas. Notes: Merged: https://github.com/ruby/ruby/pull/3433
2020-06-23Match the output without encoding for localized compilersNobuyoshi Nakada
2020-04-10ext/-test-/cxxanyargs: add #pragma for icc.卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3011
2020-03-28The last argument of rb_rescue2() should always be (VALUE)0Benoit Daloze
* Otherwise it might segfault, since C has no idea of the type of varargs, and the C code must assume all varargs are VALUE.
2020-02-25ext/-test-/cxxanyargs: use try_link instead卜部昌平
We would like to skip this extension library when libstdc++ is missing. To avoid such situation let's use try_link instead of try_compile.
2020-02-20ext/-test-/cxxanyargs: prevent have_devel check卜部昌平
The `cxx.try_compile` command in this file kicks `cxx.have_devel?` internally, which recursively calls `cxx.try_link` with a different source code. We don't want that happen (the source code compiled in this file must be the first one). We need to fake the system.
2020-02-01fix delete unnecessary return卜部昌平
Was my mistake to put return here.
2020-01-31support C++ std::nullptr_t卜部昌平
C++ keyword `nullptr` represents a null pointer (note also that NULL is an integer in C++ due to its design flaw). Its type is `std::nullptr_t`, defined in <cstddef> standard header. Why not support it when the backend implementation can take a null pointer as an argument.
2020-01-31Return the makefile contentNobuyoshi Nakada
Block for `create_makefile` is expected to return the content of the makefile.
2020-01-31Move .IGNORE in extconf.rbNARUSE, Yui
2020-01-31Support nmakeNARUSE, Yui
2020-01-31Ignore expected errors on compiling C++ source [Bug #16331]NARUSE, Yui
BSD make can run parallel more aggressively than GNU make. It communicate with other make process through -J option in MAKEFLAGS environment variable to notify a build failure happend in an other pararell make process. https://www.freebsd.org/cgi/man.cgi?make It usually works well but ext/-test-/cxxanyargs/Makefile has two targets which are expected to fail (failure.o and failurem1.o). Additional note: To test and debug this issue, following command will speed up it. `make -f exts.mk -j8 clean all`
2020-01-28fix rb_define_global_function to take const VALUE*卜部昌平
It was unable for rb_define_global_function to take VALUE(*)(int argc, const VLAUE *argv, VALUE self) -style function. Test added.
2020-01-28add test for rb_define_global_function卜部昌平
was missing.
2020-01-28add test for rb_define_method_id卜部昌平
was missing.
2020-01-28improved support for rb_f_notimplement卜部昌平
rb_f_notimplement should be accepted for all possible arities. Test provided for that.
2019-11-22Check -1 arity for C++Nobuyoshi Nakada
2019-10-12Moved RB_METHOD_DEFINITION_DECL to intern.hNobuyoshi Nakada
This macro is used here before defined in ruby.h.
2019-09-20Fix for explicit cast without RUBY_METHOD_FUNCNobuyoshi Nakada
2019-09-20Check various method defitions in C++Nobuyoshi Nakada
2019-09-20Get rid of embedding make command lineNobuyoshi Nakada
NMAKE sets MAKE to the full path name, which includes spaces by the default installation.
2019-09-20Fixed cxxanyargs/dependNobuyoshi Nakada
* Removed excess backslashes * Fixed the target name to try failure.cpp
2019-09-19Moved unmatch arity check to depend fileNobuyoshi Nakada
To substitute suffixes and VPATH for nmake.
2019-09-19Ensure that unmatched arity fails in C++Nobuyoshi Nakada
2019-09-19Removed mkmf.log dump in MakefileNobuyoshi Nakada
2019-09-19DEBUG: cxxanyargsNobuyoshi Nakada
2019-09-19DEBUG: cxxanyargsNobuyoshi Nakada
2019-09-19Look up the language moduleNobuyoshi Nakada
Look up language module with `MakeMakefile.[]`, insted of a accessing constant under that module directly, to get rid of expose the constant to the toplevel inadvertently.
2019-09-19Removed unused keyword argument [ci skip]Nobuyoshi Nakada
2019-09-18[EXPERIMENTAL] MakeMakefile::CXX for C++Nobuyoshi Nakada
2019-09-09add minimaist C++ check卜部昌平
This is a test extension so we basically want test failures rather than a configure breakage but if there is no C++ compiler, we need no test at all because there will be no chance for the tested header file to be used later. This makes it possible to build the ruby binary without any C++ compiler installed in a build environment. Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09static member variables must explictly be initialized卜部昌平
These variables then get their room for storage. See also https://github.com/ruby/ruby/runs/214042030 Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09Revert "save committers' weekend from CI failures"卜部昌平
This reverts commit 53d21087da078cf999cc4757b03b2ff0fab4c2cf. Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-06save committers' weekend from CI failures卜部昌平
Kill the failing tests.
2019-09-06avoid name mangling卜部昌平
Otherwise the dynamic linker cannot find this function. See also https://ci.appveyor.com/project/ruby/ruby/builds/27224231/job/4pg6lxlsnsjotu2l
2019-09-06nullptr is a C++11ism.卜部昌平
Should use numeric 0 for maximum portability. See also https://travis-ci.org/ruby/ruby/jobs/581543798
2019-09-06fix Visual Studio compilation error卜部昌平
See also https://github.com/ruby/ruby/runs/213964487
2019-09-06add test for cxxanyargs.hpp卜部昌平