Skip to content

Suppress compilation warning in PureDOOM#8

Merged
jserv merged 1 commit intomainfrom
fix-warn
Nov 20, 2025
Merged

Suppress compilation warning in PureDOOM#8
jserv merged 1 commit intomainfrom
fix-warn

Conversation

@jserv
Copy link
Owner

@jserv jserv commented Nov 20, 2025

GCC 15.2.1 reports a warning about unterminated string initialization in PureDOOM.h:10158 where "spida1d1" (8 chars) doesn't fit in char[8] with null terminator.

Since PureDOOM.h is external code (auto-downloaded), suppress the warning via compiler flag rather than modifying the source.

Close #7

GCC 15.2.1 reports a warning about unterminated string initialization
in PureDOOM.h:10158 where "spida1d1" (8 chars) doesn't fit in char[8]
with null terminator.

Since PureDOOM.h is external code (auto-downloaded), suppress the
warning via compiler flag rather than modifying the source.

Close #7
@jserv jserv merged commit d0e462d into main Nov 20, 2025
7 checks passed
@jserv jserv deleted the fix-warn branch November 20, 2025 16:48
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.

[Compiling Warning] -Wunterminated-string-initialization

1 participant