This is the mail archive of the gcc-patches@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: egcs 1.1.2: patch for libio/config/hpux.mt:




  In message <199903161936.OAA04506@spill.landmark.com>you write:
  > 
  > EGCS Maintainers,
  > 
  >    The following patch is intended to solve a problem with compiling
  >    the egcs 1.1.2 source file libstdc++/cmathi.cc on the platform
  >    hppa1.1-hp-hpux10.01 (although the solution applies to HP generally,
  >    I think).
  > 
  >    According to libio/ChangeLog, it is apparently appropriate (since
  >    1993) for MATH_H_INLINES no longer to be defined for HPUX, contrary
  >    to my proposed patch.
  > 
  > >
  > > Wed Dec  1 13:19:14 1993  Per Bothner  (bothner@kalessin.cygnus.com)
  > >
  > >	* config/hpux.mt (MATH_H_INLINES): No longer define.
  > >	Patch from Jeffrey A Law <law@snake.cs.utah.edu>.
  > >
  > 
  >    But without MATH_H_INLINES defined, I get the following compilation
  >    error:
Sounds like fixincludes didn't do it's job since it should have taken care
of the bogus definition of abs and other functions in math.h.

I think your patch is papering over the problem -- find out why fixincludes
didn't fix math.h.


jeff


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