Skip to content

gkregex: use <stdbool.h> on C99+ to fix build under C23 - #66

Open
ajmay81 wants to merge 1 commit into
KarypisLab:masterfrom
ajmay81:fix-c23-bool
Open

ajmay81 wants to merge 1 commit into
KarypisLab:masterfrom
ajmay81:fix-c23-bool

Conversation

@ajmay81

@ajmay81 ajmay81 commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

In C23 bool/true/false are keywords, so the fallback 'typedef enum { false, true } bool;' fails to compile (e.g. GCC 15).

In C23 bool/true/false are keywords, so the fallback
'typedef enum { false, true } bool;' fails to compile (e.g. GCC 15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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