From: "byroot (Jean Boussier) via ruby-core" Date: 2025-04-28T06:48:10+00:00 Subject: [ruby-core:121748] [Ruby Bug#21286] Windows - MSYS2 just updated to GCC 15.1.0, builds failing 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/41232509740) & [UCRT](https://github.com/MSP-Greg/ruby-loco/actions/runs/14693775816/job/41232662025) Also, I compiled mswin locally with the recent VS 'preview' release, and the bug has been fixed. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/