Patch for more removal of old string functions

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Nov 9 14:25:00 GMT 2000


 > From: "Joseph S. Myers" <jsm28@cam.ac.uk>
 > 
 > > 3.  You may want to put something like the following at the end of
 > > system.h to ensure these functions don't creep back in.  Some
 > > platform's system headers define b->mem or mem->b style so that's the
 > > reason for putting it after all includes in system.h and wrapping it
 > > with ifndef.
 > >
 > >  > #if GCC_VERSION >= 20?? && !defined(bzero) && !defined(memset)
 > >  > #pragma GCC poison bzero
 > >  > #endif
 > 
 > Might there be any systems which define other macros (than the direct
 > equivalents) to use the b* functions?

I suppose that is possible.

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-patches mailing list