Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <200654B4597FD411A69D00508BA5415B010E41E5@corpmail02> From: "Puttkammer, Roman" To: cygwin AT cygwin DOT com Subject: RE: Bison 1.30 Date: Wed, 26 Dec 2001 12:45:43 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" You'll need to include some header files to avoid the errors. Use for free(). I'm not sure where yyerror() is supposed to be declared - I'd think it's in a header file which comes with bison. roman > -----Original Message----- > From: Fractal A. [mailto:fractala AT yahoo DOT com] > Sent: Wednesday, December 26, 2001 11:31 AM > To: Randall R Schulz; cygwin AT cygwin DOT com > Cc: cygwin AT cygwin DOT com > Subject: Re: Bison 1.30 > > > Hi, > > Because the compiler (bison 1.28) appears to be working > incorrectly, I believe > that a newer version of bison might solve the problem. I > don't know why the > "implicit declaration" error is occurring. I don't know what > to do to solve > it. The arithmetic.lex and arithmetic.y files were compiling > properly before. > When the other files started outputting the "implicit > declaration" error, it > seems that everything stopped working correctly. The error > is of the type > "implicit declaration" of several different yy functions. If > you think of > something to help, please let me know. Thanks. > > Examples of the error: > Errors of this nature cause me to believe that the compiler > is failing. > > C:\cygwin2\c15>g++ -Wall -c -gstabs ch1-05.y.tab.c > /usr/share/bison.simple: In function `int yyparse()': > /usr/share/bison.simple:358: implicit declaration of function `int > yyerror(...)' > > C:\cygwin2\ega>g++ -Wall -c -gstabs arithmetic.y.tab.c > /usr/share/bison.simple: In function `int yyparse()': > /usr/share/bison.simple:361: implicit declaration of function > `int free(...)' > > ===== > Fractal A. fractala AT yahoo DOT com > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/