
Issue #21286 has been updated by byroot (Jean Boussier). I'm seeing the same thing on `ruby/json` GitHub Actions builds. ``` bigdecimal.c:2556:1: note: 'BigDecimal_truncate' declared here 2556 | BigDecimal_truncate(int argc, VALUE *argv, VALUE self) | ^~~~~~~~~~~~~~~~~~~ bigdecimal.c:4636:47: error: passing argument 3 of 'rb_define_method' from incompatible pointer type [-Wincompatible-pointer-types] 4636 | rb_define_method(rb_cBigDecimal, "_dump", BigDecimal_dump, -1); | ^~~~~~~~~~~~~~~ | | | VALUE (*)(int, VALUE *, VALUE) {aka long long unsigned int (*)(int, long long unsigned int *, long long unsigned int)} ``` ---------------------------------------- Bug #21286: Windows - MSYS2 just updated to GCC 15.1.0, builds failing https://bugs.ruby-lang.org/issues/21286#change-112804 * Author: MSP-Greg (Greg L) * Status: Open * ruby -v: master * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- MSYS2 just updated to GCC 15.1.0, and the ruby-loco builds failed to compile. See [MinGW](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693708990/job/412325097...) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/412326620...) Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed. -- https://bugs.ruby-lang.org/