Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Wed, 31 Mar 1999 19:32:46 +1000 From: Fergus Henderson To: Aldo Mazzilli Cc: gnu-win32 AT cygnus DOT com, crossgcc AT cygnus DOT com Subject: Re: No response to my problem ?? Message-ID: <19990331193245.A19871@mundook.cs.mu.OZ.AU> References: <3701E925 DOT 6BE4 AT inria DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <3701E925.6BE4@inria.fr>; from Aldo Mazzilli on Wed, Mar 31, 1999 at 11:21:41AM +0200 On 31-Mar-1999, Aldo Mazzilli 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 | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com