Le 19 déc. 2013 à 03:15, Gilberto Monroy <gilbertomonr...@gmail.com> a écrit :

> Hi everybody.
> 
> My name is Gilberto, I use the next tools:

Hi Gilberto,

> g++ -o parser location.hh position.hh rcss_parser.tab.cc lex.yy.c 
> rcss_parser_driver.cpp -lfl

This compilation line is fishy.  You are not expected to compile
the headers (*.hh files).  Compile only *.cc and *.ccp files.

>                 from rcss_parser.y:15:
> rcss_parser.tab.hh:583:3: error:

If I read this correctly, in your *.y file you #include the generated
parser header.  Don't do that, Bison does for you.  This would explain
why the symbols are defined twice.


Reply via email to