| "make update-download -j3" exit with 0. |
| "make update-src -j3" exit with 0. |
| From https://github.com/ruby/ruby |
| aaf1f53..6d81969 master -> origin/master |
| "make after-update -j3" exit with 0. |
| configure: WARNING: does not work; ignore |
| In file included from conftest.c:4: |
| /home/opc/ruby/src/master/version.h:25:39: error: invalid suffix "RUBY_RELEASE_MONTH" on integer constant |
| #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 |
| ^~ |
| /home/opc/ruby/src/master/version.h:23:26: note: in definition of macro 'TOKEN_PASTE' |
| #define TOKEN_PASTE(x,y) x##y |
| ^ |
| /home/opc/ruby/src/master/version.h:29:5: note: in expansion of macro 'ONLY_ONE_DIGIT' |
| #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH) |
| ^~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/version.h:25:39: error: invalid suffix "RUBY_RELEASE_DAY" on integer constant |
| #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 |
| ^~ |
| /home/opc/ruby/src/master/version.h:23:26: note: in definition of macro 'TOKEN_PASTE' |
| #define TOKEN_PASTE(x,y) x##y |
| ^ |
| /home/opc/ruby/src/master/version.h:34:5: note: in expansion of macro 'ONLY_ONE_DIGIT' |
| #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY) |
| ^~~~~~~~~~~~~~ |
| "make miniruby -j3" exit with 512. |
| In file included from /home/opc/ruby/src/master/compile.c:15011: |
| /home/opc/ruby/src/master/prism_compile.c: In function ‘pm_options_version_for_current_ruby_set’: |
| /home/opc/ruby/src/master/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’? |
| #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’ |
| #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’ |
| options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR); |
| ^~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/prism_compile.c:11562:51: note: each undeclared identifier is reported only once for each function it appears in |
| #define PM_VERSION_FOR_RELEASE_IMPL(major, minor) PM_OPTIONS_VERSION_CRUBY_##major##_##minor |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/prism_compile.c:11561:46: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE_IMPL’ |
| #define PM_VERSION_FOR_RELEASE(major, minor) PM_VERSION_FOR_RELEASE_IMPL(major, minor) |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/prism_compile.c:11565:24: note: in expansion of macro ‘PM_VERSION_FOR_RELEASE’ |
| options->version = PM_VERSION_FOR_RELEASE(RUBY_API_VERSION_MAJOR, RUBY_API_VERSION_MINOR); |
| ^~~~~~~~~~~~~~~~~~~~~~ |
| /home/opc/ruby/src/master/compile.c: At top level: |
| cc1: warning: unrecognized command line option ‘-Wno-self-assign’ |
| cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ |
| cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ |
| make: *** [Makefile:495: compile.o] Error 1 |
| make: *** Waiting for unfinished jobs.... |