[cfe-dev] How do I get clang++ to search for header files WITHOUT hacking?

Eli Friedman eli.friedman at gmail.com
Wed Aug 4 19:05:42 PDT 2010


On Wed, Aug 4, 2010 at 6:49 PM,  <crazygamealexs at hotmail.com> wrote:
> It's having a hard time finding c++ headers, the guild at the website is
> unhelpful, since it doesn’t give out hacking examples (and it assumes to
> much). I really don't want to edit the files just to do a header search
> path.

Pass "-nostdinc -I/path/to/my/headers" on the command-line.

-Eli




More information about the cfe-dev mailing list