[antlr-interest] C target with g++ compiler

Jim Idle jimi at temporal-wave.com
Wed Nov 7 15:06:39 PST 2007


Remember that this is C code, not C++, or is not a reserved word in C.
 
Jim



> Date: Wed, 7 Nov 2007 11:38:58 +0100> From: Eric.Deplagne at loria.fr> To: antlr-interest at antlr.org> Subject: Re: [antlr-interest] C target with g++ compiler> > On mer, 07 nov 2007 11:22:51 +0100, Johannes Luber wrote:> > Dan Hazon wrote:> > ...> > > > > > Can you suggest an elegant way to overcome those errors?> > > > > > I'm interfacing with some other C++ code and must use g++.> > > > Why don't you compile the C-target with a C-compiler and reference the> > resulting library via extern C?> > > > Johannes> > If the trouble is in a struct, it's not sure that will be enough...> > Using "or" as an identifier is not a good idea anyway...> > -- > Eric Deplagne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071107/5d00927d/attachment.html 


More information about the antlr-interest mailing list