[antlr-interest] Problem with C++ files: BaseAST.cpp

marcschellens m_schellens at hotmail.com
Mon Jan 26 04:37:56 PST 2004


Trying to port the GDL project
(http://sourceforge.net/projects/gnudatalanguage/) to windows, a
colleague found the following (ANTLR 2.7.2, C++ mode):

in BaseAST.cpp line 312:

ANTLR_API AST* const nullASTptr=0;

has to be changed to:

AST* const nullASTptr=0;

because:
"the __declspec should appear only in the declaration."
(MSVC)

Shouldn't this be changed in the original ANTLR distribution also?

Greetings,
marc


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/antlr-interest/

To unsubscribe from this group, send an email to:
 antlr-interest-unsubscribe at yahoogroups.com

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




More information about the antlr-interest mailing list