system.h, gcc.c, toplev.c

Jeffrey A Law law@cygnus.com
Thu Feb 19 03:32:00 GMT 1998


  In message < 199802182344.SAA28809@jfc. >you write:
  > 
  > This patch reduces system.h to include a reasonable set of include
  > files, uses ANSI string functions when autoconf defines STDC_HEADERS,
  > makes corresponding changes to gcc.c, and converts toplev.c to use
  > system.h.
  > 
  > I don't think toplev.c needs <sys/stat.h>, but there might be a system
  > where it does.  Anyone remember?
  > 
  > Wed Feb 18 18:18:28 1998  John Carr  <jfc@mit.edu>
  > 
  > 	* system.h: Do not include <sys/types.h>, <sys/stat.h>, <errno.h>,
  > 	<unistd.h>, <sys/param.h>, <limit.h>, <time.h>, or <fcntl.h>.
  > 	If STDC_HEADERS, use ANSI names for string functions.
  > 
  > 	* gcc.c: Restore includes deleted from system.h.
  > 
  > 	* toplev.c: Include <system.h> instead of <stdio.h>, <ctype.h>,
  > 	<stdlib.h>, and <string.h>.  Do not include <sys/stat.h>.
Do you and Kaveh agree on this patch (since you seem to be the folks
most interested in this issue).

jeff



More information about the Gcc mailing list