From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: "Oliver M. Kellogg" Cc: egcs@cygnus.com Subject: Re: egcs-1.0.3a on DEC Alpha / DU4.0b: typedef of ulong in types.h Date: Thu, 16 Jul 1998 00:32:00 -0000 Message-id: <22913.900569444@hurl.cygnus.com> References: <9807151620.AA18101@gatekeeper.vs.dasa.de> X-SW-Source: 1998-07/msg00558.html 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