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: Patch to delete ATTRIBUTE_* and GENERIC_PTR from gansidecl.h


 > 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


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