This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tgmath.h and newlib


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]