[antlr-interest] cast problem with C runtime
Dragos Tarcatu
tarcatu_dragosh at yahoo.com
Tue May 19 03:43:06 PDT 2009
Hi,
I'm using antlr-3.1.3 with the C runtime (libantlr3c-3.1.3). I'm compiling the generated antlr code for my parser using g++.
The thing is that for a rule like:
description_list
: (descrs += description)*
;
I'm getting a void* conversion error in the generated code:
SVParser.c:1895: error: invalid conversion from ‘void*’ to ‘SVParser_description_return*’
Is there a solution to this problem?
Thanks,
Dragos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090519/43ad01fa/attachment.html
More information about the antlr-interest
mailing list