ANTLR 2.7.2 and C++ libraries
2 posts in topic
Flat View  Flat View

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.

Re[2]: ANTLR 2.7.2 and C++ libraries

Posted By:   Peter_Mikhalenko  
Posted On:   Monday, May 5, 2003 08:27 AM

Could you please to mail me these fixes?

Re: ANTLR 2.7.2 and C++ libraries

Posted By:   Patrick_Scheller  
Posted On:   Monday, April 14, 2003 03:43 AM

Unfortunately you cannot expect any help from the makers of ANTLR for free. They do not support Windows or MS-VisualC++ and are not interested in correcting the completely useless project files they deliver.

I have found a way to fix these errors myself. And so must every MSVC user in the future!

Greetz, pat le cat

About | Sitemap | Contact