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: Robert Lipe <robertlipe at usa dot net>
- Subject: Re: How does one identify HP-UX with broken inline math funs?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 11 May 2000 10:09:11 -0600
- cc: gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000511100856.R1374@rjlhome.sco.com>you write:
> > I have vague memories of bits you can twiddle in libstdc++ that deal
> > with inlined math stuff from system header files. In fact, I thought
> > older stuff from SCO and hpux behaved the same when it came to the
> > inlined math crud in system header files.
>
> OK. It looks like that is spelled _G_MATH_H_INLINES and is tested in
> libstdc++/cmath. But I'm unconvinced it is used anywhere, including
> HP-UX.
>
> $ find . -print | xargs grep G_MATH_H_INLINES
> ./gcc/testsuite/g++.old-deja/g++.robertl/eb101.C:#define _G_MATH_H_INLINES
> 0
> ./libstdc++/ChangeLog: * std/cmath.h: Wrap abs(double) with #if ! _G_MATH_
> H_INL
> INES.
> ./libstdc++/cmath:#if ! _G_MATH_H_INLINES /* hpux and SCO define this in ma
> th.h
> */
>
> Even in 2.95, I couldn't find a definition for this. If this is still
> the right thing to enable, where should it be turned on? I'm happy with
> letting fixincludes whack it in math.h since apparently this is the only
> remaining system where this is an issue.
Look in libio.
jeff