--- trunk/src/antlr/BaseAST.cpp 2012/08/21 13:51:14 1781 +++ trunk/src/antlr/BaseAST.cpp 2012/08/22 02:28:28 1782 @@ -270,7 +270,8 @@ ANTLR_API RefAST nullAST; // this is nasty, but it makes the code generation easier ANTLR_API RefAST nullAST; -#if defined(_MSC_VER) && !defined(__ICL) // Microsoft Visual C++ +#if defined(_MSC_VER) && !defined(__ICL) +// Microsoft Visual C++ extern ANTLR_API AST* const nullASTptr = 0; #else ANTLR_API AST* const nullASTptr = 0;