| "make update-download DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make update-src DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| From https://github.com/ruby/ruby |
| 2cf95e2..bbf8735 master -> origin/master |
| "make after-update DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make miniruby DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| /tmp/ruby/src/trunk-repeat20-asserts/io.c: In function ‘rb_io_s_binread’: |
| /tmp/ruby/src/trunk-repeat20-asserts/io.c:12344:54: warning: implicit conversion from ‘enum <anonymous>’ to ‘enum rb_io_mode’ [-Wenum-conversion] |
| 12344 | arg.io = rb_io_open_generic(io, argv[0], oflags, fmode, &convconfig, 0); |
| | ^~~~~ |
| 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 ruby DEFS=\"-DRUBY_DEBUG=1\"" exit with 0. |
| "make all DEFS=\"-DRUBY_DEBUG=1\"" exit with 512. |
| /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c:39:13: error: conflicting types for ‘rb_io_mode_t’; have ‘int’ |
| 39 | typedef int rb_io_mode_t; |
| | ^~~~~~~~~~~~ |
| In file included from /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c:21: |
| /tmp/ruby/src/trunk-repeat20-asserts/include/ruby/io.h:275:25: note: previous declaration of ‘rb_io_mode_t’ with type ‘rb_io_mode_t’ {aka ‘enum rb_io_mode’} |
| 275 | typedef enum rb_io_mode rb_io_mode_t; |
| | ^~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c: In function ‘strio_init’: |
| /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c:301:52: warning: passing argument 5 of ‘rb_io_extract_modeenc’ from incompatible pointer type [-Wincompatible-pointer-types] |
| 301 | rb_io_extract_modeenc(&vmode, 0, opt, &oflags, &ptr->flags, &convconfig); |
| | ^~~~~~~~~~~ |
| | | |
| | int * |
| /tmp/ruby/src/trunk-repeat20-asserts/include/ruby/io.h:877:107: note: expected ‘enum rb_io_mode *’ but argument is of type ‘int *’ |
| 877 | void rb_io_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash, int *oflags_p, enum rb_io_mode *fmode_p, rb_io_enc_t *convconfig_p); |
| | ~~~~~~~~~~~~~~~~~^~~~~~~ |
| /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c: In function ‘strio_set_encoding’: |
| /tmp/ruby/src/trunk-repeat20-asserts/ext/stringio/stringio.c:1862:61: warning: passing argument 5 of ‘rb_io_extract_modeenc’ from incompatible pointer type [-Wincompatible-pointer-types] |
| 1862 | rb_io_extract_modeenc(&vmode, 0, Qnil, &oflags, &fmode, &convconfig); |
| | ^~~~~~ |
| | | |
| | int * |
| /tmp/ruby/src/trunk-repeat20-asserts/include/ruby/io.h:877:107: note: expected ‘enum rb_io_mode *’ but argument is of type ‘int *’ |
| 877 | void rb_io_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash, int *oflags_p, enum rb_io_mode *fmode_p, rb_io_enc_t *convconfig_p); |
| | ~~~~~~~~~~~~~~~~~^~~~~~~ |
| 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[2]: *** [Makefile:257: stringio.o] Error 1 |
| make[1]: *** [exts.mk:318: ext/stringio/all] Error 2 |
| make: *** [uncommon.mk:403: build-ext] Error 2 |