Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Windows paths are not always properly normalized #543

@Boddlnagg

Description

@Boddlnagg

I'm having a problem where cquery is not able to find certain header files, and I'm suspecting that the reason has something to do with paths in Windows (maybe case-insensitivity?).

I found that all the files where it does not work have their cache files in
c@@Develop@git@src with relative file paths within, while those that work have their cache files in @c@@Develop@git@src with absolute file paths (such as C@@Develop@git@src@some_file.cpp) within.

And I'm getting messages of the form:

[Error - 09:20:41] Request textDocument/codeLens failed.
  Message: Unable to find file c:/Develop/git/src/some_file.cpp
  Code: -32603 

... although c:/Develop/git/src/some_file.cpp exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions