Skip to content

[4 of 6] Add C23 compatibility for bool typedef#6

Open
b-long wants to merge 1 commit intostacked/03-add-go-1.24from
stacked/04-c23-compatibility
Open

[4 of 6] Add C23 compatibility for bool typedef#6
b-long wants to merge 1 commit intostacked/03-add-go-1.24from
stacked/04-c23-compatibility

Conversation

@b-long
Copy link
Owner

@b-long b-long commented Jan 25, 2026

This PR is stacked atop:

Wraps 'typedef uint8_t bool;' with preprocessor guards to avoid conflicts with C23's native bool type. This fixes compilation errors with newer C compilers that default to C23 standard.

Based on go-python#379 by @deuill.

Next PR in the queue should be:

Wraps 'typedef uint8_t bool;' with preprocessor guards to avoid
conflicts with C23's native bool type. This fixes compilation
errors with newer C compilers that default to C23 standard.

Based on go-python#379 by @deuill.

Co-Authored-By: Marid de Uill <maridlcueto@gmail.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