Skip to content

Conversation

@briaguya0
Copy link
Contributor

@briaguya0 briaguya0 commented May 16, 2025

i was looking into #5467 and i did a bit of digging.

it seems the gcc15 issues are stemming from 15 changing the default C version from gnu17 to gnu23.

we didn't have the c standard explicitly set before, leading to compiler defaults being used.

our CI builds use gcc12 which defaults to c17. i think for consistency in blair it makes sense to fix the gcc15 issue by explicitly setting the c standard to c17.

i ran some test builds using a modified test-builds-on-distros workflow (i just removed everything but arch and gcc from it) and was able to get the project to successfully build with this change.

i do think updating the code to work with the c23 standard is a reasonable thing to do, and i think #5467 does a great job of it, but i would prefer we do that in develop instead.

Build Artifacts

@Malkierian Malkierian merged commit 4fd0bf4 into HarbourMasters:develop-blair May 16, 2025
6 checks passed
@briaguya0 briaguya0 mentioned this pull request May 17, 2025
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants