Compiler version? This sounds like a recent addition to one compiler or
another, and you can probably switch that off?



Jim



*From:* antlr-dev-boun...@antlr.org [mailto:antlr-dev-boun...@antlr.org] *On
Behalf Of *Mike Lischke
*Sent:* Friday, April 27, 2012 2:30 AM
*To:* ANTLR Mailing Mailing List
*Subject:* [antlr-dev] [C Target] Compiling runtime in C++ project



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