[gnu.gcc.bug] Gnu C compiler 1.28's <stddef.h> and SunOS 4.0 <sys/types.h> don't mix

ado@NCIFCRF.GOV (Arthur David Olson) (09/30/88)

(We're running SunOS 4.0 on a Sun 3/110.)

Description:
	There's a clash between the Gnu C compiler version 1.28 <stddef.h>
	file and the SunOS 4.0 <sys/types.h> file.  <sys/types.h> is
	indirectly included by <X11/Xlib.h>.

Repeat-By:
	Script started on Thu Sep 29 14:37:49 1988
	daisy$ cat try.c
	#include <stddef.h>
	#include <X11/Xlib.h>

	int main() {return 0;}
	daisy$ gcc -v try.c
	gcc version 1.28
	 /usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dmc68000 -Dsun -Dunix -Dmc68020 -D__HAVE_FPU__-Dmc68020 try.c /tmp/cca02090.cpp
	GNU CPP version 1.28
	 /usr/local/lib/gcc-cc1 /tmp/cca02090.cpp -quiet -dumpbase try.c -version -o /tmp/cca02090.s
	GNU C version 1.28 (68k, MIT syntax) compiled by GNU C version 1.28.
>>>>	/usr/include/sys/types.h:54: conflicting types for `size_t'
	/usr/local/lib/gcc-include/stddef.h:10: previous declaration of `size_t'
	daisy$ exit

	script done on Thu Sep 29 14:38:18 1988
-- 
	  The Canadian space program is into artificial catatonia.
	ado@ncifcrf.gov			ADO is a trademark of Ampex.