[cfe-dev] LibTooling include changement only.

João Matos ripzonetriton at gmail.com
Sun Sep 2 08:29:45 PDT 2012


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.

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>
> int
> 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
> http://lists.cs.uiuc.edu/**mailman/listinfo/cfe-dev<http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>
>



-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120902/db1332dc/attachment.html>


More information about the cfe-dev mailing list