Hi,

while compiling the C runtime using make etc. works nicely I have the need to 
include it into my C++ projects. However I'm getting quite a number of errors, 
mostly revolving around assignments being not compatible, e.g. error assigning 
const void* to void* for:

recognizer->state->exception->name              = ANTLR3_MISMATCHED_EX_NAME;

This can easily be solved by making the name member const void*. However since 
there are quite many of these and it would require to change the runtime I 
wonder if there is a better solution to make it compile. The *.c files are all 
compiled as C++ via build setting.

Mike
-- 
www.soft-gems.net

_______________________________________________
antlr-dev mailing list
antlr-dev@antlr.org
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to