mattn / mattn/vim-lsp-settings
clangd can not find STL headers on MacOS
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.4k
- Forks
- 245
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
I'm using MacOS Catalina and the latest version of vim-lsp. My problem is that STL headers don't seem to be found by clangd.
If I do a clangd --check= I get errors such as E[09:37:33.030] [pp_file_not_found] Line 12: 'memory' file not found
I'm using a very current version of clangd,
$ clangd --version
Homebrew clangd version 13.0.0
Features: mac+xpc
Platform: x86_64-apple-darwin19.6.0
I am using a compile_commands.json.
My problem sounds similar to the one described in https://github.com/mattn/vim-lsp-settings/issues/159 , but that's already resolved.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported failure with clangd --check= on macOS Catalina using the provided compile_commands.json, then inspect how vim-lsp-settings configures clangd. The issue is complete when STL headers such as memory are found without the reported pp_file_not_found errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos, vim
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100