Skip to content

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

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

[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
Copy Markdown
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>
@b-long
Copy link
Copy Markdown
Owner Author

b-long commented Apr 11, 2026

Superseded by go-python#384

@b-long b-long closed this Apr 11, 2026
@b-long b-long deleted the stacked/04-c23-compatibility branch April 11, 2026 13:58
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