[antlr-interest] C target with g++ compiler
Eric Deplagne
Eric.Deplagne at loria.fr
Wed Nov 7 17:40:53 PST 2007
By saying that again as a mantra, you're telling that you
explicitly forbid anyone to ever have the stupid idea of
possibly using C++...
Great enough...
On mer, 07 nov 2007 23:06:39 +0000, Jim Idle wrote:
> 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
--
Eric Deplagne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20071108/0d2a4559/attachment.bin
More information about the antlr-interest
mailing list