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
'assertion failed: found_namespace_keyword' when parsing C++20 nested inline namespace definition #2293
Labels
Comments
emilio
added a commit
that referenced
this issue
Oct 4, 2022
emilio
added a commit
that referenced
this issue
Oct 4, 2022
emilio
added a commit
that referenced
this issue
Oct 4, 2022
emilio
added a commit
that referenced
this issue
Oct 5, 2022
emilio
added a commit
that referenced
this issue
Oct 5, 2022
qsdrqs
pushed a commit
to qsdrqs/rust-bindgen
that referenced
this issue
Oct 26, 2022
LoganBarnett
pushed a commit
to LoganBarnett/rust-bindgen
that referenced
this issue
Dec 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I hit this
found_namespace_keyword
assertion failure when trying to parse a C++ file compiled with -std=c++20. My C++ file doesn't use any C++20 functionality, but compiling with -std=c++20 pulls in some C++20 std header files that use C++20's nested inline namespaces. In particular:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.sdk/usr/include/c++/v1/concepts
Input C/C++ Header
Bindgen Invocation
or
Actual Results
Expected Results
The nested inline namespace definition should be parsed according to https://en.cppreference.com/w/cpp/language/namespace:
The text was updated successfully, but these errors were encountered: