-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cquery Error: Could not normalize path xxx #47
Comments
I can confirm this behaviour under manjaro/arch linux. Minimal code to trigger it: test.cpp
CMakeLists.txt
GCC: 8.1.1 20180531 |
I got the same error, but sometimes it works. |
I have this issue as well. This seems to be an issue with
One might assume counting up for and down for } else if (next_token == "..") {
// Strip the last path component except when it is single "/"
if (resolved.size() > 1)
resolved.resize(resolved.rfind('/', resolved.size() - 2) + 1);
continue; However that's not the actual resolution of this path: $ realpath /bin/../lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../../../..
/usr And indeed, replacing the call with a call to the "real" Probably, this needs to find the canonical path of edit: i keep typing |
When I turn on the cquery mode, it will print huge amount of errors in
lsp std error
buffer, such as :The text was updated successfully, but these errors were encountered: