This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to delete ATTRIBUTE_* and GENERIC_PTR from gansidecl.h
- To: law at cygnus dot com
- Subject: Re: Patch to delete ATTRIBUTE_* and GENERIC_PTR from gansidecl.h
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Wed, 8 Sep 1999 14:54:36 -0400 (EDT)
- Cc: egcs-patches at egcs dot cygnus dot com
> From: Jeffrey A Law <law@cygnus.com>
>
> In message <199909071505.LAA11373@caip.rutgers.edu>you write:
> > Now that libiberty's ansidecl.h defines the ATTRIBUTE_* stuff for us,
> > there is no need for gcc's gansidecl.h to do it. Also, we should
> > nuke GENERIC_PTR and just use PTR.
> >
> > Bootstrapped on Irix6, okay to install?
>
> This is fine. Please install it. Thanks,
> jeff
Done. Thanks for reviewing it.
Note the recent gcc2 merge installed a definition of NULL into
gansidecl.h. This is wrong because gansidecl.h is included before
stdio.h and thus we never get the chance to utilize the system
definition of NULL. Since system.h provides a NULL definition after
including stdio.h, I nuked the definition from gansidecl.h.
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions