虚無庵

徒然なるままに

今日の ruby build 2023-08-23

今日のビルド

129663c4a8e1522a862a26b99e997854186bafac までを pull ってきてビルド。エラー/警告ともになし。

  Files:       1020

  Classes:     1183 ( 280 undocumented)
  Modules:      233 (  84 undocumented)
  Constants:   1455 ( 717 undocumented)
  Attributes:  1320 ( 278 undocumented)
  Methods:    10750 (2298 undocumented)

  Total:      14941 (3657 undocumented)
   75.52% documented

  Elapsed: 31.2s

今日のテスト

PASS all 1852 tests

今日のビルド(Universal Parser 有効化)

compiling ../ruby_parser.c
../ruby_parser.c: In function ‘syntax_error_append’:
../ruby_parser.c:117:5: warning: function ‘syntax_error_append’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
  117 |     return rb_syntax_error_append(exc, file, line, column, (rb_encoding *)enc, fmt, args);
      |     ^~~~~~
../ruby_parser.c: In function ‘rb_parser_config_initialize’:
../ruby_parser.c:647:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  647 |     config->str_catf        = rb_str_catf;
      |                             ^
../ruby_parser.c:665:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  665 |     config->str_vcatf       = rb_str_vcatf;
      |                             ^
../ruby_parser.c:667:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  667 |     config->rb_sprintf      = rb_sprintf;
      |                             ^
../ruby_parser.c:755:19: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  755 |     config->raise = rb_raise;
      |                   ^
../ruby_parser.c:777:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  777 |     config->compile_warn    = rb_compile_warn;
      |                             ^
../ruby_parser.c:778:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  778 |     config->compile_warning = rb_compile_warning;
      |                             ^
../ruby_parser.c:779:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  779 |     config->bug             = rb_bug;
      |                             ^
../ruby_parser.c:780:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  780 |     config->fatal           = rb_fatal;
      |                             ^
../ruby_parser.c:804:22: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  804 |     config->snprintf = snprintf;
      |                      ^
../ruby_parser.c: 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

きたー!!!!!…が、対応方針がわからねぇ…。

今日のテスト(Universal Parser 有効化)

PASS all 1852 tests