[gnu.gcc.bug] stddefs.h does not agree with sys/types.h

cmc3@EDDIE.MIT.EDU (c.m.chase) (01/04/89)

I don't know if this is a bug, or if I just screwed up somehow in
installing gcc.

I have noticed that the file /usr/include/sys/types.h does not agree with
the gcc-include file stddef.h on what a size_t is supposed to be.

Operating system: Sun OS 4.0
Hardware: SUN 4/110
Gcc version: 1.32
gcc compiled after "config.gcc sun4-os4"

/usr/include/sys/types.h defines a size_t to be an int
gcc-include/stddef.h definss a size_t to be an unsigned long

What should it be, and how should I fix it?

Thanks for your help.

Craig Chase