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: "Oliver M. Kellogg" <Oliver dot Kellogg at vs dot dasa dot de>
- Subject: Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 16 Jul 1998 00:10:44 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <9807151620.AA18101@gatekeeper.vs.dasa.de>you write:
> Is it intended that the size of ulong in egcs-1.0.3a on a DEC Alpha,
> /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0b/egcs-2.90.29/include/sys/types
> .h
> line 468, be set to 8 bytes?
> `typedef long unsigned int ulong;'
> This declaration raises conflicts with other software, e.g. mico-2.1.0
> wants to `typedef unsigned int ulong;'
>
> Who's the culprit, EGCS or MICO?
> Is the name `ulong' reserved in some special way so that apps shouldn't
> attempt to redefine it in the first place?
The problem is either DEC or MICO, not egcs.
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.
jeff