delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/31/04:41:34

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
Sender: Aldo DOT Mazzilli AT inrialpes DOT fr
Message-ID: <3701ED77.5369@inria.fr>
Date: Wed, 31 Mar 1999 11:40:07 +0200
From: Aldo Mazzilli <aldo DOT mazzilli AT inria DOT fr>
Organization: INRIA
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: Fergus Henderson <fjh AT cs DOT mu DOT OZ DOT AU>
CC: gnu-win32 AT cygnus DOT com, crossgcc AT cygnus DOT com
Subject: Re: No response to my problem ??
References: <3701E925 DOT 6BE4 AT inria DOT fr> <19990331193245 DOT A19871 AT mundook DOT cs DOT mu DOT OZ DOT AU>

Fergus Henderson wrote:
> 
> On 31-Mar-1999, Aldo Mazzilli <aldo DOT mazzilli AT inria DOT 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;
>                 ...
>         }
> 
> --


Thanks for your suggestion,Fergus,  but this initialization is produced
by 'lex'.
So I can't intervene in the lex producing C code.

Any other suggestions ?
Thanks ...


-- 
=======================================================================
,',',',',',',' Aldo MAZZILLI             | INRIA Rhone-Alpes          |
,',',',',',',' aldo DOT mazzilli AT inrialpes DOT fr| 655, avenue de l'Europe    |
,',',',',',',' Tel : 04 76 61 53 91      | 38330 Montbonnot St Martin |
,',',',',',',' Fax : 04 76 61 52 52      | FRANCE                     |
,',' *** Site WEB : http://www.inrialpes.fr/vasy/people/Aldo.Mazzilli |
=======================================================================

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019