[antlr-interest] ANLTR C++ code generation
Jim Idle
jimi at temporal-wave.com
Wed Nov 10 09:27:37 PST 2010
You can already just compile as C++ and should get no warnings from g++ even
with -Wall. Can you post the warnings and an example of what generates them?
The warnings are likely benign, but I prefer that they are not there.
Jim
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Amr Muhammad
> Sent: Sunday, October 31, 2010 6:32 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] ANLTR C++ code generation
>
> Hello,
>
> I wanted to make sure that ANTLR can not generate c++ not c code. As
> the current .c files when compiled with g++, it would issue errors,
> mostly related to pointer cast operations. Also, i was wondering if
> there was a way to compile the generated c files as c++ files without
> having to do changes in the generated code.
>
> Thank you for your time.
>
> --
> Amr Muhammad
> Cairo Univ. Computer Eng. Grad.
> twitter:@amrmuhammad <http://twitter.com/amrmuhammad>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address
More information about the antlr-interest
mailing list