No response to my problem ??

Fergus Henderson fjh@cs.mu.OZ.AU
Wed Mar 31 01:33:00 GMT 1999


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



More information about the Cygwin mailing list