[cfe-commits] GCC 4.3.0 issues

Chris Lattner clattner at apple.com
Sat Apr 5 21:29:53 PDT 2008


Thanks!  I actually got most of these off irc before seeing this  
email.  However:

> +++ Driver/clang.cpp	(working copy)
> @@ -889,10 +889,10 @@
>   // FIXME: get these from the target?
>   if (!nostdinc) {
>     if (Lang.CPlusPlus) {
> -      AddPath("/usr/include/c++/4.0.0", System, true, false, false,  
> Headers);
> -      AddPath("/usr/include/c++/4.0.0/i686-apple-darwin8", System,  
> true, false,
> +      AddPath("/usr/include/c++/4.3.0", System, true, false, false,  
> Headers);
> +      AddPath("/usr/include/c++/4.3.0/i686-pc-linux-gnu", System,  
> true, false,
>               false, Headers);
> -      AddPath("/usr/include/c++/4.0.0/backward", System, true,  
> false, false,
> +      AddPath("/usr/include/c++/4.3.0/backward", System, true,  
> false, false,
>               Headers);

This breaks users of gcc 4.0 on the mac :)

-Chris



More information about the cfe-commits mailing list