[cfe-dev] LibTooling include changement only.
klimek at google.com
Sun Sep 2 10:39:18 PDT 2012
On Sun, Sep 2, 2012 at 8:29 AM, João Matos <ripzonetriton at gmail.com> wrote:
> Clang is probably not finding it's built-in includes directory. You can find
> it in "<build folder>\lib\clang\<clang version>\include". You can also try
> passing the "-v" verbose flag to Clang to diagnose such issues.
Yep. The easiest way to get tools like clang-check to find the builtin
includes is to do a $ make install for the regular clang, and then
copy the tools into the bin/ directory of the resulting installation
> On Sun, Sep 2, 2012 at 4:03 PM, Marman Moi <marman.email at gmail.com> wrote:
>> Good afternoon,
>> Sorry for my bad english, and my stupid question, but I'm facing a big
>> understanding issue, and I can't figure out what is wrong.
>> I'm new to clang tooling development, and I'm trying to create a Code
>> Style Checker based on clang front-end.
>> I'm building my tool out of clang sources, with a home installation of
>> llvm trunk (r163087).
>> I just copied the main of clang-check, and only change #include directives
>> from double quotes ("") to brackets (<>) so it does compile.
>> But when I try to run such a program on a simple file as
>> // file simple.cc
>> #include <iostream>
>> main(int argc, char* argv
>> std::cout << "Hello World" << std::endl;
>> return 0;
>> I got the error stdarg.h file not found from wchar.h file when I run my
>> program, error which does not occur when I simply run clang-check from the
>> installation directory.
>> Does anyone has some idea on what is going on, and what did I do wrong ?
>> Many thanks in advance,
>> Armand /Marman/ Leclercq
>> EPITA 2013 ACU
>> 06 71 57 90 73
>> Computer Science is embarrassed by the computer. --Alan Perlis
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
> João Matos
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev