help-bison
[Top][All Lists]
Advanced

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

Re: implicit declaration


From: Hans Aberg
Subject: Re: implicit declaration
Date: Fri, 25 Jul 2003 10:51:35 +0200

At 00:07 +0200 2003/07/25, Wolfgang Jeltsch wrote:
>I found this question at least two times asked on this mailing list but
>not an
>answer for it. If I try to compile a Bison-generated C++ file with g++ I get
>the following messages:
>    /usr/share/bison/bison.simple: In function `int yyparse()':
>    /usr/share/bison/bison.simple:573: implicit declaration of function `int
>        yylex(...)'
>    /usr/share/bison/bison.simple:799: implicit declaration of function `int
>        yyerror(...)'
>How can I avoid this?

You do not say which version you use, but bison.simple has not been used in
recent versions. So for a start, you might attempt to pick up a later
version of Bison.

  Hans Aberg






reply via email to

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