Re: Bison complains about undefined reference of my own data type

2008-11-23 Thread Vukki Starborn
What exactly say the compiler? If you get some undefined reference message on stage of compilation of bison output, then you must check if all needed definitions really included. If you get undefined reference message on linking stage, the solution usually is to add object file with implementation

Bison complains about undefined reference of my own data type

2008-11-23 Thread Efstratios Gavves
Hi! I am a newbie in bison, so I don't know all the secrets. I used for a while a standard example with its own data type and now I want to include my own. I included the header file, but the compiler throws me an exception for undefined reference. However, this is not true, the implementatio