Patch broke bootstrap on i386.
Neil Booth
neil@daikokuya.co.uk
Fri Jun 20 06:37:00 GMT 2003
Richard Henderson wrote:-
> On Thu, Jun 19, 2003 at 11:45:51AM +0100, Joern Rennecke wrote:
> > What was already dodgy was the unprotected use of FILE (rtl.h
> > guards this with #ifdef BUFSIZ), but as this doesn't appear to cause
> > acute brokenness right now, we can leave that for later.
>
> <stdio.h> is included by system.h; any remaining BUFSIZ guards
> are trash.
>
> What we've done so far wrt hooks and enums is to not use enums,
> and uses int instead.
I ended up doing just that for the langhook for switches -
it's most natural to pass an OPT_ enum, but instead I pass
a size_t or something.
Neil.
More information about the Gcc
mailing list