Posted By:
liliana_alvers
Posted On:
Wednesday, April 2, 2003 08:59 AM
I treated to compile the version 2.7.2 with Visual C++ 6.0,
as both a static library and as a DLL and two errors ocurred:
c:program filesantlrantlr-2.7.2libcppsrc reeparser.cpp(39) :
error C2491: 'TreeParser::ASTNULL' : definition of dllimport static data member not allowed
c:program filesantlrantlr-2.7.2libcppsrc oken.cpp(18) : error C2720: 'badToken' : '__declspec(dllimport ) ' storage-class specifier illegal on members
What can I do ?
Can you help me to produce the libraries ?
Thanks in advance.