New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: use c11 everywhere #3088
Conversation
26e60a3
to
0be3615
Compare
Do we need to require C11 mode? What newer C features are we using? |
I see, thanks. Do you have a sense of how widely-supported the C11 standard is? What's the difference between |
According to Wikipedia it should be supported in every non-EOL system:
|
0be3615
to
a61ee03
Compare
a61ee03
to
6b8531d
Compare
And improve the makefiles
TREE_SITTER_REUSE_ALLOCATOR is more consistent
6b8531d
to
a8857f0
Compare
This should allow core to use the same header while disabling it by default in scanners, though I haven't tested it.
I changed the name to
TREE_SITTER_REUSE_ALLOCATOR
to be more consistent withTREE_SITTER_FEATURE_WASM
.