This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How does one identify HP-UX with broken inline math funs?
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: How does one identify HP-UX with broken inline math funs?
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Thu, 11 May 2000 14:27:07 -0500
- Cc: Bruce Korb <bkorb at sco dot COM>, gcc at gcc dot gnu dot org
- References: <391ADFCA.25D5FD56@sco.com> <8643.958069368@upchuck>
> > > I'm happy with letting fixincludes whack it in math.h since
> > > apparently this is the only remaining system where this is an
> > > issue.
> >
> > I would just prefer to always whack it or always not whack it, but
> > minimally to really know when it should or should not be whacked.
> > I.e.
>
> I would always wack it because they are wrong/busted.
I don't understand why
#ifdef __cplusplus
inline double abs(double d) {return fabs(d); }
in <math.h> is really that much weirder than
inline double abs (double x) { return fabs (x); }
in cmath, but I can live with that. At least we have a decision.
Bruce, if you'll do/revert the fixinc magic that lets this get deleted
once again, I'll commit the change to libstdc++/libio to turn it on
again in cmath.
Thanx to all involved.
RJL