delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/01/12:39:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <E13D7AD1EFF1D311B84C0050DA438FC3269238@exchange.xiring.com>
From: Ludovic DELAMOTTE <l DOT delamotte AT xiring DOT com>
To: Larry Hall <cygwin AT cygwin DOT com>
Subject: RE: B20: Bug with Bison in bison.simple
Date: Thu, 1 Feb 2001 18:43:51 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

> At 12:24 PM 2/1/2001, Ludovic DELAMOTTE wrote:
> 
> >I think there's a problem in bison.simple of B20.
> >
> >I want to give parameters to the function yyparse(), so I wrote:
> >#define YYPARSE_PARAM   cfg
> >
> >After running bison, I obtained the message :
> >"bison.simple:219: number of arguments doesn't match prototype"
> >
> >however, the SAME program compiles under Linux with bison.
> >
> >And then, there is written in bison.simple, lines 151 and above :
> >
> >/* Prevent warning if -Wstrict-prototypes. */
> >#ifdef __GNUC__
> >int yyparse( void );
> >#endif
> >
> >Instead of (I think...):
> >
> >/* Prevent warning if -Wstrict-prototypes. */
> >#ifdef __GNUC__
> >#ifdef YYPARSE_PARAM
> >int yyparse( void *);
> >#else
> >int yyparse( void );
> >#endif
> >#endif
> >
> >That'all...
> >What're you thinking about ?
> 
> 
> 
> Does it work with the current release (1.1.8)?  B20 is as old as the 
> hills...
> 
	Indeed, it looks like correct. :))



> Larry Hall                              lhall AT rfk DOT com
> RFK Partners, Inc.                      http://www.rfk.com
> 118 Washington Street                   (508) 893-9779 - RFK Office
> Holliston, MA 01746                     (508) 893-9889 - FAX
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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