| "make update-download -j3" exit with 0. |
| "make update-src -j3" exit with 0. |
| "make after-update -j3" exit with 0. |
| "make miniruby -j3" exit with 0. |
| "make ruby -j3" exit with 0. |
| "make all -j3" exit with 512. |
| /home/opc/ruby/src/master/ext/stringio/stringio.c:39:13: error: conflicting types for ‘rb_io_mode_t’ |
| typedef int rb_io_mode_t; |
| ^~~~~~~~~~~~ |
| In file included from /home/opc/ruby/src/master/ext/stringio/stringio.c:21: |
| /home/opc/ruby/src/master/include/ruby/io.h:275:25: note: previous declaration of ‘rb_io_mode_t’ was here |
| typedef enum rb_io_mode rb_io_mode_t; |
| ^~~~~~~~~~~~ |
| /home/opc/ruby/src/master/ext/stringio/stringio.c: In function ‘strio_init’: |
| /home/opc/ruby/src/master/ext/stringio/stringio.c:301:52: warning: passing argument 5 of ‘rb_io_extract_modeenc’ from incompatible pointer type [-Wincompatible-pointer-types] |
| rb_io_extract_modeenc(&vmode, 0, opt, &oflags, &ptr->flags, &convconfig); |
| ^~~~~~~~~~~ |
| In file included from /home/opc/ruby/src/master/ext/stringio/stringio.c:21: |
| /home/opc/ruby/src/master/include/ruby/io.h:877:107: note: expected ‘enum rb_io_mode *’ but argument is of type ‘rb_io_mode_t *’ {aka ‘int *’} |
| 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); |
| ~~~~~~~~~~~~~~~~~^~~~~~~ |
| /home/opc/ruby/src/master/ext/stringio/stringio.c: In function ‘strio_set_encoding’: |
| /home/opc/ruby/src/master/ext/stringio/stringio.c:1862:54: warning: passing argument 5 of ‘rb_io_extract_modeenc’ from incompatible pointer type [-Wincompatible-pointer-types] |
| rb_io_extract_modeenc(&vmode, 0, Qnil, &oflags, &fmode, &convconfig); |
| ^~~~~~ |
| In file included from /home/opc/ruby/src/master/ext/stringio/stringio.c:21: |
| /home/opc/ruby/src/master/include/ruby/io.h:877:107: note: expected ‘enum rb_io_mode *’ but argument is of type ‘rb_io_mode_t *’ {aka ‘int *’} |
| 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); |
| ~~~~~~~~~~~~~~~~~^~~~~~~ |
| /home/opc/ruby/src/master/ext/stringio/stringio.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[2]: *** [Makefile:256: stringio.o] Error 1 |
| make[1]: *** [exts.mk:316: ext/stringio/all] Error 2 |
| make[1]: *** Waiting for unfinished jobs.... |
| make: *** [uncommon.mk:403: build-ext] Error 2 |