Skip to content
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

Some header file are recognized of c not c++ #953

Open
jiangxianfu opened this issue Oct 11, 2023 · 0 comments
Open

Some header file are recognized of c not c++ #953

jiangxianfu opened this issue Oct 11, 2023 · 0 comments

Comments

@jiangxianfu
Copy link

jiangxianfu commented Oct 11, 2023

When I used the tool to parse, I found that some header files could be correctly identified as c++, but some were identified as c language. I wonder if there is a good way to avoid this.

image

10:38:53 indexer0 pipeline.cc:386 I parse /oceanbase/src/sql/engine/ob_exec_context.h error:3 unknown type name 'namespace'

image

Of course, I have also adopted the solution ideas provided by the FAQ, but the more it is used, the more chaotic it is.
https://github.com/MaskRay/ccls/wiki/FAQ#some-cc-headers-are-not-recognized

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

No branches or pull requests

1 participant