Make codebase C23 compliant #180

Merged
alufolie91 merged 16 commits from fixgnu23 into Saturn-Next 2025-07-27 18:16:02 +02:00
alufolie91 commented 2025-05-31 19:37:25 +02:00 (Migrated from github.com)

mostly ported from https://git.do.srb2.org/Hanicef/SRB2Classic/-/commit/62151a1a38a2a931d245a16a7c83ba6aebb0afb0
based on https://github.com/Indev450/SRB2Kart-Saturn/tree/unnestmothink so that should be merged first

adjusts things and fixes all errors thrown since GCC 15
but keeps an interger boolean type instead of using the supplied __BOOL type from stdbool
this is due to some packed structs relieng on a certain struct size (int bool is 4 bytes whereas stdbools is 1 byte)

mostly ported from https://git.do.srb2.org/Hanicef/SRB2Classic/-/commit/62151a1a38a2a931d245a16a7c83ba6aebb0afb0 based on https://github.com/Indev450/SRB2Kart-Saturn/tree/unnestmothink so that should be merged first adjusts things and fixes all errors thrown since GCC 15 but keeps an interger boolean type instead of using the supplied __BOOL type from stdbool this is due to some packed structs relieng on a certain struct size (int bool is 4 bytes whereas stdbools is 1 byte)
Indev450 (Migrated from github.com) reviewed 2025-05-31 19:37:25 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#180