This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tgmath.h and newlib
- From: Geoffrey Keating <geoffk at apple dot com>
- To: Richard Sandiford <rsandifo at nildram dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: 28 Sep 2007 18:37:30 -0700
- Subject: Re: tgmath.h and newlib
- References: <87fy13iytb.fsf@firetop.home>
Richard Sandiford <rsandifo@nildram.co.uk> writes:
> Sorry if this has been discussed before, but the c99-tgmath-* tests
> are failing on most newlib targets. The problem is that tgmath.h
> unconditionally includes complex.h, which non-linux newlibs don't
> provide. What's the best fix? Including complex.h from tgmath.h
> seems reasonable on the face of it, given that both are C99 headers.
> So should we simply skip these tests for !c99_runtime?
Yes, skip the tests; I think this makes most sense. tgmath.h is part
of C99.