[antlr-interest] Re: 2.7.2 released: get it while it's hot!

cintyram <cintyram at yahoo.com> cintyram at yahoo.com
Wed Jan 22 13:40:39 PST 2003


hi 
im trying to compile the static library for the new antlr2.7.2 release;
this is what i did, 
created a new win32 static library project ;
to that i added all the source files from C:\ad\antlr-2.7.2\lib\cpp\src
 and from  C:\ad\antlr-2.7.2\lib\cpp\antlr

enabled RTTI 

this is what i get;


also with the project that comes with the download, there are some
files included in the project which are not present in the downlaod
physically ;
if i remove references to those files from that project , i get only
the first error abt nullASTptr ;


please suggest any soln.

// as an aside, how would it be to put up the runtimes also in the
files section? those who are just interested in using the tool can
directly copy the lib or dll files, or the corresponding files, for
other platforms and use directly ..
this would be very useful for beginners and also for folks like me who
are not exactly beginners but do stumble all the time :(

cheers
ram



--------------------Configuration: 272asl - Win32
Debug--------------------
Compiling...
BaseAST.cpp
c:\ad\antlr-2.7.2\lib\cpp\src\baseast.cpp(312) : error C2491:
'nullASTptr' : definition of dllimport data not allowed
Token.cpp
c:\ad\antlr-2.7.2\lib\cpp\src\token.cpp(18) : error C2720: 'badToken'
: '__declspec(dllimport ) ' storage-class specifier illegal on members
c:\ad\antlr-2.7.2\lib\cpp\src\token.cpp(18) : error C2491:
'Token::badToken' : definition of dllimport static data member not allowed
TreeParser.cpp
c:\ad\antlr-2.7.2\lib\cpp\src\treeparser.cpp(39) : error C2491:
'TreeParser::ASTNULL' : definition of dllimport static data member not
allowed
Error executing cl.exe.

272asl.lib - 4 error(s), 0 warning(s)



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list