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: egcs at cygnus dot com
- Subject: Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 17 Jul 1998 09:11:28 -0700
- Newsgroups: cygnus.egcs
- Organization: Cygnus Solutions
- References: <199807161625.JAA07961@cygnus.com>, <199807170027.RAA18575.cygnus.egcs@atrus.synopsys.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------