Rip-Rip/clang_complete — Issue #109: clang cannot find stdarg.h because it's not in the include path
Author: mrpringle
Created: 2011-12-21 04:53:57+00:00
State: open

clang_complete autocompletion works ok for me but the error checking always gives me the following message in my quickfix buffer:
> /usr/include/wchar.h|40 col 11 error| 'stdarg.h' file not found.

If I put .clang_complete in my project file with the following contents then clang_complete error checking works properly.
> -I /usr/lib/clang/3.0/include
or
> -I /usr/lib/clang/3.0/include

I don't think I should have to add this include path to make clang_complete functional when I can compile my code using clang++ or g++ and don't need to include the above path.

I'm running Arch linux with clang 3.0-1 and llvm 3.0-1. I'm running clang_complete from 10 Dec 11.