Closed Rumi152 closed 1 month ago
Compile with -std=c11
(or /std:c11
), if compiling manually. Or post the version of your compiler.
Thanks, it works. Although if there are no side effects this change could still be done (Just a suggestion, I am kind of new to this stuff)
C11 is a requirement for tree-sitter.
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.22.6 (b40f342067a89cd6331bf4c27407588320f3c263)
Describe the bug
When I try to build it throws this error:
It was fixed (and the same steps still work and fix the error) in commit 2c93b82af7674e82e862d03133fd7abe6bd23cf0. Sadly this change was canceled in commit ef61cb57bd10838e90957672e6b4c129fcbe3a25 with no apparent reason. If there is no important reason for this revert, and this was just a mistake, please commit this change again.
Steps To Reproduce/Bad Parse Tree
Expected Behavior/Parse Tree
tree-sitter-cpp should build without errors
Repro
No response