bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implicit Declaration Error


From: Fractal A.
Subject: Implicit Declaration Error
Date: Wed, 26 Dec 2001 08:34:41 -0800 (PST)

Hi,

I'm having trouble getting the bison 1.28 compiler under cygwin to compile
properly.  I keep encountering an "implicit declaration" error.  

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 in advance for your help.

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.                    address@hidden

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]