This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Squelch some more cygwin specific warnings
On Sat, Mar 17, 2001 at 10:38:48PM -0500, Christopher Faylor wrote:
> On Sat, Mar 17, 2001 at 11:00:25PM -0000, Billinghurst, David (CRTS) wrote:
> >This patch fixes a number of cygwin specific warnings in toplev.c, varasm.c
> >and winnt.c. Just a couple of headers, some missing declarations and a few
> >char * -> const char *.
> >
> >Bootstrapped 3.0 branch on cygwin. Similar patch bootstrapped on head
> >yesterday. Please commit if OK
> >
> >
> >2001-03-18 David Billinghurst <David.Billinghurst@riotinto.com>
> >
> > * config/i386/cygwin.h: Include <stdio.h>
>
> I've always wondered why stdio.h wasn't included automatically. I wonder
> if it caused problems somewhere.
It is, but only after we get done scanning tm.h type headers (they're
pulled in by config.h, which happens before system.h).
Including stdio.h earlier, for FILE, should be harmless.
zw