Re: tgmath.h and newlib

2007-09-28 Thread Geoffrey Keating
Richard Sandiford <[EMAIL PROTECTED]> 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 co

Re: tgmath.h and newlib

2007-09-24 Thread John David Anglin
This affects parisc all hpux versions except for possibly 11.31. I've experimented with not including complex.h. With a couple of other testsuite changes (complex -> __complex__), the tgmath tests behave in a semi-reasonable manner if complex arguments are avoided. However, I don't really see an

tgmath.h and newlib

2007-09-24 Thread Richard Sandiford
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 i