[cfe-dev] compiling C++ with clang++

Salman Pervez spervez at purdue.edu
Tue Mar 2 19:50:50 PST 2010


So I added this line...

     // Gentoo amd64 stable
     AddGnuCPlusPlusIncludePaths(
         "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4",
         "x86_64-pc-linux-gnu", "", "", triple);
     AddGnuCPlusPlusIncludePaths(
         "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include",
         "x86_64-pc-linux-gnu", "", "", triple);

Since stddef.h also lives in /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/ 
include. Would you suggest I use the patch you sent instead?

Salman

On Mar 2, 2010, at 10:37 PM, Eric Christopher wrote:

>
> On Mar 2, 2010, at 7:35 PM, Salman Pervez wrote:
>
>> OK, solved. thanks for all the help!
>>
>
> ... what did you do for the last one? :)
>
> -eric




More information about the cfe-dev mailing list