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

Question: Including files it should not #40

Description

@tjdevries

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions