This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h


 
> > 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 ?




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]