[antlr-interest] [2.7.5/c++]: static TokenRef* getRef(const Token* p); Definition missing from source tree

Ric Klaren ric.klaren at gmail.com
Tue Apr 26 10:49:32 PDT 2005


Hi,

Sorry for taking a long time to answer, was on a short holiday.

Francis ANDRE wrote:
> I am trying to rebuild a dll version of antlr 2.7.5 and got lots of 
> undefined symbol for
> 
> static TokenRef* getRef(const Token* p);
> 
> and as a matter of fact, it is not defined elsewhere in the source tree.

It should be defined in TokenRefCount.cpp (in lib/cpp/src) make sure 
it's included in the project.

Cheers,

Ric


More information about the antlr-interest mailing list