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

Eric Deplagne Eric.Deplagne at loria.fr
Wed Nov 7 02:38:58 PST 2007


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 --------------
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/20071107/f9fc3ebc/attachment.bin 


More information about the antlr-interest mailing list