fatal error: 'stdarg.h' file not found

Hi Jordan,

My tool wasn’t in the “/usr/local/bin” directory, I didn’t know that. I have copied the executable to the directory and have worked without any problem.
My headers are in …/**include/**clang/3.x/include/ not in lib/clang.


I also have another issue with headers and I hope you don’t mind to have a look if it’s not much asking.

In the program I’m parsing with Clang, the headers are of type angled <parent_directory/file.h>.To compile the program I can use "clang++ -I. -I… " so that the headers are found. But, in my tool I don’t know how can I indicate that clang includes the parent directory when creating the AST.

I’m using something like this to parse the code:

ClangTool Tool(OptionsParser.getCompilations(), file);

so I would need to tell the object “Tool” to find also in the parent directory. Or is there a simple way to do this that I’m overlooking?

Thanks again,


El día 07 mar 2014 18:43, Jordan Rose jordan_rose@apple.com escribió: