including <stdlib.h>
Robert Lipe
robertl@dgii.com
Wed Feb 11 06:50:00 GMT 1998
> Since almost every part of the compiler needs <stdlib.h>, for the
> abort prototype if nothing else, it should be included by *config.h
> instead of individual files.
There are everal things that are crying out for global headers - for
example our protos for error(). Certainly, this approach would also
help contain ugliness like we talked about recently with the collisions
of <string.h> & <strings.h>.
I don't see a really obvious candidate in gcc/*config.h. Can you be
more specific in your recommendation? Is there an existing file you're
thinking of?
RJL
More information about the Gcc
mailing list