Hopefully fixed in r181558.

On Thu, May 9, 2013 at 12:57 PM, jahanian <[email protected]> wrote:

> This  test  starting to fail on a Window  machine:
>
> C: .../Release/../lib/clang/3.4/include\tgmath.h:33:10: fatal error: 
> 'complex.h' file not found
>   #include <complex.h>
>            ^
>   1 error generated.
>
> - Fariborz
>
>
> On May 9, 2013, at 10:41 AM, Richard Smith <[email protected]>
> wrote:
>
> Author: rsmith
> Date: Thu May  9 12:41:19 2013
> New Revision: 181527
>
> URL: http://llvm.org/viewvc/llvm-project?rev=181527&view=rev
> Log:
> Fix the return type of the complex creal functions. Patch by YunZhong Gao,
> modified to use _Static_assert and to check __STDC_HOSTED__ by me.
>
> Modified:
>    cfe/trunk/lib/Headers/tgmath.h
>
> Modified: cfe/trunk/lib/Headers/tgmath.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/tgmath.h?rev=181527&r1=181526&r2=181527&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Headers/tgmath.h (original)
> +++ cfe/trunk/lib/Headers/tgmath.h Thu May  9 12:41:19 2013
> @@ -1340,15 +1340,15 @@ static long double _Complex
>
> // creal
>
> -static float _Complex
> +static float
>     _TG_ATTRS
>     __tg_creal(float __x) {return __x;}
>
> -static double _Complex
> +static double
>     _TG_ATTRS
>     __tg_creal(double __x) {return __x;}
>
> -static long double _Complex
> +static long double
>     _TG_ATTRS
>     __tg_creal(long double __x) {return __x;}
>
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to