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.<br>

<br><div class="gmail_quote">On Sun, Sep 2, 2012 at 4:03 PM, Marman Moi <span dir="ltr"><<a href="mailto:marman.email@gmail.com" target="_blank">marman.email@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Good afternoon,<br>
<br>
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.<br>
<br>
I'm new to clang tooling development, and I'm trying to create a Code Style Checker based on clang front-end.<br>
<br>
I'm building my tool out of clang sources, with a home installation of llvm trunk (r163087).<br>
<br>
I just copied the main of clang-check, and only change #include directives from double quotes ("") to brackets (<>) so it does compile.<br>
<br>
But when I try to run such a program on a simple file as<br>
<br>
// file simple.cc<br>
#include <iostream><br>
int<br>
main(int argc, char* argv[]<br>
{<br>
  std::cout << "Hello World" << std::endl;<br>
  return 0;<br>
}<br>
<br>
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.<br>
<br>
Does anyone has some idea on what is going on, and what did I do wrong ?<br>
<br>
Many thanks in advance,<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Armand /Marman/ Leclercq<br>
EPITA 2013 ACU<br>
06 71 57 90 73<br>
Computer Science is embarrassed by the computer. --Alan Perlis<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joćo Matos<br>