Saturday, August 20, 2005 02:16 PM
I have compiled antlr libraries using msys + mingw. Using mingw I have written a simple parser for my needs.
When I include all antlr generated *.cpps directly in project what compiles in exe, all is ok - parser works fine. But if I make .a library from parser files, and after that link it with main project(which calls library's functions), parser crashes on internal antlr call to resetText(). It does not matter whether I use stringstream or fstream as an input for lexer.
Have anyone ever met the same problems using antlr+mingw?