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?



  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


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