egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h
Joe Buck
jbuck@synopsys.com
Thu Jul 16 22:43:00 GMT 1998
> > I don't have an ANSI reference handy, but I do not believe "ulong" is
> > a reserved type, and the definition in sys/types.h is thus polluting
> > the ANSI namespace.
Per Bothner writes:
> That should be "Posix namespace". <sys/types.h> is a Posix header, not an
> ANSI header, and thus is free to add to the "user namespace", according
> to ANSI, but not accordingto Posix.
That is a bit confusing. Clearly ANSI doesn't restrict what sys/types.h
does, but doesn't Posix? That is, isn't it technically illegal under
Posix for sys/types.h to define ulong ?
More information about the Gcc
mailing list