[Bug c/118283] Issues when building with GCC15+MinGW-w64

2025-01-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118283 --- Comment #5 from Andrew Pinski --- You could always compile the packages that fail with C23 with -std=gnu17 .

[Bug c/118283] Issues when building with GCC15+MinGW-w64

2025-01-03 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118283 --- Comment #4 from Brecht Sanders --- Thanks for clarifying. So it seems this is by design and there is nothing to fix in GCC. Unfortunately that means a lot of packages will need to fix their source if they still want them to build using th

[Bug c/118283] Issues when building with GCC15+MinGW-w64

2025-01-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118283 --- Comment #3 from Sam James --- (In reply to Brecht Sanders from comment #0) > - `bool` now seems to be defined in C. Several projects use bool as a > variable name or define it using typedef, both of which will result in > compile errors. Ju

[Bug c/118283] Issues when building with GCC15+MinGW-w64

2025-01-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118283 --- Comment #2 from Sam James --- (In reply to Brecht Sanders from comment #0) We hit a bunch of issues like this during the 14 cycle when we started to enforce C99 properly and fixed issues like this while we were there. Recent versions of aut

[Bug c/118283] Issues when building with GCC15+MinGW-w64

2025-01-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118283 Sam James changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED