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.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: No response to my problem ??


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