[antlr-interest] building the C++ static library
valce2003
valce at libero.it
Mon May 19 01:34:40 PDT 2003
I'am a old user of PCCTS 1.33, and recently i have downloaded the
last version in Java (antlr-2.7.2). With the antlr 2.7.1 the
antlr.jar was incomplete, but regenerating it with all class files,
all works, and the C++ static library is compilable. The last release
have the correct jar file, but the library is impossible to compile
with 4 errors and 460 warning.
Someone know if will be possible to have a release that work without
problems? i don't ask very much. Only a jar file complete, and the
hpp, cpp files aligned with Java version and compilable.
i hope that someone can help me.
many thanks.
PS
this errors are reported from VC++ 6.0:
c:\antlr-2.7.2\lib\cpp\src\baseast.cpp(312) : error
C2201: 'nullASTptr' : must have external linkage
c:\antlr-2.7.2\lib\cpp\src\token.cpp(18) : error
C2720: 'badToken' : '__declspec(dllimport ) ' storage-class specifier
illegal on members
c:\antlr-2.7.2\lib\cpp\src\token.cpp(18) : error
C2491: 'Token::badToken' : definition of dllimport static data member
not allowed
c:\antlr-2.7.2\lib\cpp\src\treeparser.cpp(39) : error
C2491: 'TreeParser::ASTNULL' : definition of dllimport static data
member not allowed
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list