This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h
- To: bothner at cygnus dot com (Per Bothner)
- Subject: Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Thu, 16 Jul 98 17:27:13 PDT
- Cc: law at cygnus dot com, Oliver dot Kellogg at vs dot dasa dot de, egcs at cygnus dot com
> > 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 ?