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


jbuck@synopsys.com (Joe Buck) writes:

> That is a bit confusing.  Clearly ANSI doesn't restrict what sys/types.h

Of course not, sys/types.h is a header introduced in POSIX.

> does, but doesn't Posix?

Yes, see POSIX.1, annex C.

> That is, isn't it technically illegal under Posix for sys/types.h to
> define ulong ?

Not withing the POSIX namespace.  Everything is possible if you say
you want an extended namespace (like in glibc where yo can use
_GNU_SOURCE).

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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