| "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| From https://github.com/ruby/ruby |
| aaf1f53..6d81969 master -> origin/master |
| "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0. |
| configure: WARNING: something wrong with CXXFLAGS="" |
| In file included from conftest.c:4: |
| /tmp/ruby/src/trunk-gc-asserts/version.h:25:39: error: invalid suffix "RUBY_RELEASE_MONTH" on integer constant |
| 25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 |
| | ^~ |
| /tmp/ruby/src/trunk-gc-asserts/version.h:23:26: note: in definition of macro 'TOKEN_PASTE' |
| 23 | #define TOKEN_PASTE(x,y) x##y |
| | ^ |
| /tmp/ruby/src/trunk-gc-asserts/version.h:29:5: note: in expansion of macro 'ONLY_ONE_DIGIT' |
| 29 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH) |
| | ^~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/version.h:25:39: error: invalid suffix "RUBY_RELEASE_DAY" on integer constant |
| 25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 |
| | ^~ |
| /tmp/ruby/src/trunk-gc-asserts/version.h:23:26: note: in definition of macro 'TOKEN_PASTE' |
| 23 | #define TOKEN_PASTE(x,y) x##y |
| | ^ |
| /tmp/ruby/src/trunk-gc-asserts/version.h:34:5: note: in expansion of macro 'ONLY_ONE_DIGIT' |
| 34 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY) |
| | ^~~~~~~~~~~~~~ |
| "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 512. |
| In file included from /tmp/ruby/src/trunk-gc-asserts/compile.c:15011: |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c: In function ‘pm_options_version_for_current_ruby_set’: |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11562:51: error: ‘PM_OPTIONS_VERSION_CRUBY_4_0’ undeclared (first use in this function); did you mean ‘PM_OPTIONS_VERSION_CRUBY_3_5’? |
| 11562 | #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’ |
| 11561 | #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’ |
| 11565 | options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11562:51: note: each undeclared identifier is reported only once for each function it appears in |
| 11562 | #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’ |
| 11561 | #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-gc-asserts/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’ |
| 11565 | options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR); |
| | ^~~~~~~~~~~~~~~~~~~~~~ |
| At top level: |
| cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics |
| make: *** [Makefile:495: compile.o] Error 1 |