[antlr-interest] Compile ANTLR in C++
pwolleba
pwolleba at yahoo.no
Wed Oct 22 03:28:12 PDT 2003
I am trying to compile ANTLR in Visual C++ as a static lib and I have
so far not managed it because of error messages.
BaseAST.cpp
C:\Temp\Java\Antlr\antlr-2.7.2\antlr-2.7.2\lib\cpp\src\BaseAST.cpp
(312) : error C2201: 'nullASTptr' : must have external linkage in
order to be exported/imported
Error executing cl.exe.
I have (more correct the compiler have) located it to be in the file
BaseAST.cpp:
ANTLR_API RefAST nullAST;
ANTLR_API AST* const nullASTptr=0;
Any solution to what I am doing wrong?
Best regards,
Per
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list