lsif-clang icon indicating copy to clipboard operation
lsif-clang copied to clipboard

Question: Including files it should not

Open tjdevries opened this issue 4 years ago • 0 comments

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>
         ^~~~~~~~~~~~

tjdevries avatar Feb 04 '21 14:02 tjdevries