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]

Re: How does one identify HP-UX with broken inline math funs?


>   > > 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

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