This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: More instantiation problems under hpux
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: rittle at latour dot rsch dot comm dot mot dot com, rittle at labs dot mot dot com, libstdc++ at gcc dot gnu dot org
- Date: Fri, 18 Jan 2002 13:08:58 -0500 (EST)
- Subject: Re: More instantiation problems under hpux
> The following are macros on hpux 11:
> isnan, isinf, signbit, isfinite, isnormal, fpclassify, isunordered,
> isgreater, isgreaterequal, isless, islessequal, islessgreater.
After doing a quick hack that didn't work, I looked at this a little
more deeply. I see that cmath captures the above if _GLIBCPP_USE_C99
is defined. Then, it undefines the above macros, etc. It does this
unconditionally. Now, _GLIBCPP_USE_C99 isn't defined on hpux 11 because
it doesn't have the lldiv_t type. So, we just end up with the above
being undefined and no way to check the attributes of floats without
using machine dependent functions or macros. Should configure specifically
check for the above?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)