Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Question: Including files it should not #40

Open
tjdevries opened this issue Feb 4, 2021 · 0 comments
Open

Question: Including files it should not #40

tjdevries opened this issue Feb 4, 2021 · 0 comments

Comments

@tjdevries
Copy link
Contributor

Inside of Neovim's code base, when I do:

$ lsif-clang build/compile_commands.json

At some point, I get this error:

[77/315] Processing file /home/tj/build/neovim/build/src/nvim/auto/os/win_defs.h.test-include.c
In file included from /home/tj/build/neovim/build/src/nvim/auto/os/win_defs.h.test-include.c:1:
/home/tj/build/neovim/src/nvim/os/win_defs.h:5:3: error: Header must be included only when compiling for Windows.
# error Header must be included only when compiling for Windows.
  ^
/home/tj/build/neovim/src/nvim/os/win_defs.h:10:10: fatal error: 'winsock2.h' file not found
#include <winsock2.h>
         ^~~~~~~~~~~~
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant