This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: fixincl.x: Undeclared identifier SIZE_TYPE.
- To: Bruce Korb <bkorb at sco dot COM>
- Subject: Re: fixincl.x: Undeclared identifier SIZE_TYPE.
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 21 Jul 2000 11:21:31 -0700
- CC: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, <gcc-bugs at gcc dot gnu dot org>, djgpp-workers at delorie dot com
- References: <200007211556.LAA29942@caip.rutgers.edu> <39788322.2137DAA9@sco.com>
Bruce Korb <bkorb@sco.COM> writes:
> "Kaveh R. Ghazi" wrote:
> >
> > Bruce,
> >
> > When I bootstrap gcc on powerpc-ibm-aix4.1.4.0 I get the
> > following in stage1:
> >
> > > "../../../egcs-CVS20000721/gcc/fixinc/fixincl.x", line 5810.24:
> > > 1506-045 (S) Undeclared identifier SIZE_TYPE.
> > > make[3]: *** [fixincl.o] Error 1
> >
> > I believe it was broken by this patch:
> >
> > > 2000-07-20 Bruce Korb <bkorb@gnu.org>
> >
> > Can you offer any assistance?
>
> Well, as I read the source, this entry in fixlib.h:
>
> #include "tm.h"
>
> sould read the generated file 'tm.h' which will #include the
> file that should define SIZE_TYPE. So, your breakage is
> curious to me. However, since reading more
SIZE_TYPE defaults to 'unsigned long' if it is not defined. The
rs6000 port finds this definition acceptable. The fixincludes files
don't seem to do the defaulting, so SIZE_TYPE is still not defined.
--
- Geoffrey Keating <geoffk@cygnus.com>