Skip to content

fix(wikisort): replace custom bool typedef with stdbool.h#215

Open
yc199911 wants to merge 1 commit intoembench:masterfrom
yc199911:fix-wikisort-bool
Open

fix(wikisort): replace custom bool typedef with stdbool.h#215
yc199911 wants to merge 1 commit intoembench:masterfrom
yc199911:fix-wikisort-bool

Conversation

@yc199911
Copy link
Copy Markdown

GCC 15 defaults to C23 where bool/true/false are keywords, causing 'typedef uint8_t bool' to fail with:
error: two or more data types in declaration specifiers

Replace the custom bool/true/false definitions with #include <stdbool.h>, which is available since C99 and is a no-op under C23.

GCC 15 defaults to C23 where bool/true/false are keywords,
causing 'typedef uint8_t bool' to fail with:
  error: two or more data types in declaration specifiers

Replace the custom bool/true/false definitions with #include <stdbool.h>,
which is available since C99 and is a no-op under C23.
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.

1 participant