[antlr-interest] C++ Runtime in WinNT for 2.7.2a2
    Thomas Dudziak 
    tomdz at cs.tu-berlin.de
       
    Fri Feb 22 04:03:18 PST 2002
    
    
  
If you try to link antlr statically, then it could be the same bug that I
described in an earlier post.
Try to change the the #ifdef of the __declspec in the antlr/config.hpp to
something like :
# ifdef ANTLR_EXPORTS
#   undef ANTLR_API
#   define ANTLR_API __declspec(dllexport)
# endif
# ifdef ANTLR_IMPORTS
#   undef ANTLR_API
#   define ANTLR_API __declspec(dllimport)
# endif
and do not define neither of the symbols for your program.
Hope this helps.
Ciao, Tom
 
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
    
    
More information about the antlr-interest
mailing list