We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tree-sitter --version
n/a
When building tree-sitter-cpp 0.21.0 from pkgsrc on NetBSD/amd64 in the same as building 0.20.5, I have a problem loading the shared object:
/usr/pkg/lib/libtree-sitter-cpp.so: Undefined PLT symbol "static_assert" (symnum = 15)
And indeed, nm confirms that:
nm
00000000004a0ce0 d language.0 U memcpy U static_assert
I tried building 0.20.5 again in the same exact way, and here 'static_assert' doesn't appear in the so file at all.
I don't know how to fix this, any ideas?
The text was updated successfully, but these errors were encountered:
tree-sitter-cpp: downgrade
b5c4d80
Due to tree-sitter/tree-sitter-cpp#256
You need to set -std=c11. The Makefile does that for you.
-std=c11
Makefile
Sorry, something went wrong.
Thank you! Using c11 for building fixed the problem for me.
fix: try fix cpp language
5cb9dbd
tree-sitter/tree-sitter-cpp#256
No branches or pull requests
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)n/a
Describe the bug
When building tree-sitter-cpp 0.21.0 from pkgsrc on NetBSD/amd64 in the same as building 0.20.5, I have a problem loading the shared object:
And indeed,
nm
confirms that:I tried building 0.20.5 again in the same exact way, and here 'static_assert' doesn't appear in the so file at all.
I don't know how to fix this, any ideas?
Steps To Reproduce/Bad Parse Tree
n/a
Expected Behavior/Parse Tree
n/a
Repro
The text was updated successfully, but these errors were encountered: