fixincl.x: Undeclared identifier SIZE_TYPE.

Bruce Korb bkorb@sco.COM
Fri Jul 21 15:19:00 GMT 2000


Geoff Keating wrote:
> > Geoff Keating wrote:
> > > 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>
> >
> > Add this to fixlib.h?
> 
> I think it would be better to use the __SIZE_TYPE__ preprocessor
> defines, instead; then fixincludes doesn't need to include tm.h at
> all.

Yep.  That seems to make most sense to me.  We can rely
on these always being defined within GCC.  Therefore,
we drop the #include of "tm.h" and change the format
string inside fixfixes.c to not bother testing for an
undefined __SIZE_TYPE__.  I don't have time today.
I'll look into it next week, if someone does not beat me
to it  :-)).

Cheers,
	Bruce


More information about the Gcc-patches mailing list