help-bison
[Top][All Lists]
Advanced

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

Problems using bison and flex with C++


From: Carlos Augusto Lains Leitão
Subject: Problems using bison and flex with C++
Date: Tue, 22 Jun 2004 09:07:58 -0300

Hi,

        My name is Carlos and i am experiencing some problems using flex and 
bison with c++. I have generated the lexical scanner with flex and the the 
parser with bison. When i compile my program with gcc there is no problem and 
everything goes well but when i use g++ to compile the compiler points some 
errors such like: "undefined reference to yylex in the parser.tab.c generated 
by bison, undefined reference to yyparse in lex.yy.c generated by flex, 
undefined reference to yyerror in parser.tab.c generated by bison". Colud 
anyone give me an advice.

Thanks in advance,

                Carlos Augusto




reply via email to

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