Skip to content

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

Merged
karypis merged 1 commit into
KarypisLab:masterfrom
ajmay81:fix-c23-bool
Nov 16, 2026
Merged

karypis merged 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 <[email protected]>
@karypis
karypis merged commit 90ba1a3 into KarypisLab:master Nov 16, 2026
6 checks passed
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