[antlr-interest] I cannot compile antlr-2.7.2rc2 cpp dll

anthony_breneliere <abreneliere at telys.com> abreneliere at telys.com
Mon Jan 20 09:17:18 PST 2003


I did the following steps

1. create a new W32 Static Libaray project with the name ANTLR in 
this folder lib\cpp folder, click next
2. check the MFC(it enable the RTTI)
3. and all .cpp .hpp files to the project
4. set the realease, and debug configurea
and ANTLR_EXPORTS to the Preprecessor
5. in file BaseASP.cpp and AST.hpp
modify the 
ANTLR_API AST* const nullASTptr=0; line to 
ANTLR_API AST* nullASTptr=0;

With the 5th step completed, i have no compiling error lefts.

But i have about 25 linking errors and 117 warning.

When compiling a static library i have no error.

The question is : how could i compile the .dll (after having selected 
dynamic dll) ??





 

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



More information about the antlr-interest mailing list