PATCH: Fix for MAXINT header defines under hpux 10.20

Jeffrey A Law law@cygnus.com
Mon Oct 16 18:26:00 GMT 2000


  In message < 200010142000.QAA01020@hiauly1.hia.nrc.ca >you write:
  > I got tired of warnings about MAXINT being redefined by values.h.  Here
  > is a fix.
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2000-10-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	* inclhack.def (hpux_maxint): Limit fix to HPUX 10.X and also
  > 	apply to values.h.
Seems reasonable.  Though I don't know what the rationale behind limiting the
fix to hpux10 would be.

It may seem odd, but it has been my experience that if there's a particular
problem in one vendor's include files, then there is an excellent chance
it exists in another vendor's include files.

In fact, I know of one where this fix would likely be important -- hiux :-)

Anyway, unless we have good reason, I'd prefer not to add a machine selector
to a fix.

jeff



More information about the Gcc-patches mailing list