-
Notifications
You must be signed in to change notification settings - Fork 7
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
ccls doesn't see definitions in headers #14
Comments
Hmm. Actually seems to be any header at all. |
This poodle exhibits both behaviours. And shows the compile commands in play. |
@mdaum-adsk @coobeeyon |
This is the resource dir line from the log file:
And that clang doesn't seem to have the C++ headers there. |
Turns out the system headers are a separate problem from the local headers. Local header problem I have managed to fix on the CCLS side. |
@mdaum-adsk flycheck is noisy, now lsp have used flymake (emacs-lsp/lsp-mode@47f30a1) instead.
@coobeeyon I suggest you goto to https://github.com/MaskRay/ccls for help. |
try launch ccls with -init='{"clang":{"extraArgs":["-isystem", "/Library/Developer/CommandLineTools/usr/include/c++/v1"]}}' |
In emacs flycheck I get the error "ccls: no type named 'string' in namespace std". Same with types defined in
<cstdint>
.The text was updated successfully, but these errors were encountered: