This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: No response to my problem ??
- To: Aldo Mazzilli <aldo.mazzilli@inria.fr>
- Subject: Re: No response to my problem ??
- From: Fergus Henderson <fjh@cs.mu.OZ.AU>
- Date: Wed, 31 Mar 1999 19:32:46 +1000
- Cc: gnu-win32@cygnus.com, crossgcc@cygnus.com
- References: <3701E925.6BE4@inria.fr>
On 31-Mar-1999, Aldo Mazzilli <aldo.mazzilli@inria.fr> wrote:
> Here is the line 71 of scanner.c :
> FILE *yyin = {stdin}, *yyout = {stdout} ;
The ANSI/ISO C standard does not allow that code.
You need to write it as
FILE *yyin, *yyout;
and then initialize yyin and yyout before you use
them, e.g. in main()
int main() {
yyin = stdin;
yyout = stdout;
...
}
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com