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: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Amr Muhammad > Sent: Sunday, October 31, 2010 6:32 AM > To: [email protected] > 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 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
