nflath / c-eldoc

eldoc-mode plugin for C source code
33 stars 15 forks source link

Lookup always fails when header path is missing #13

Open Ambrevar opened 5 years ago

Ambrevar commented 5 years ago

If I use a library which is not found in the paths set by c-eldoc-includes, all lookups fail, including those for which the libraries are found.

nflath commented 5 years ago

This is because this works by running the preprocessor, which will load all the includes, then parsing/scanning that. So if a header is missing from the path, this step will fail and we will be unable to parse.