AW: [antlr-interest] ASTLabelType in c++ mode

Jörg Hälker jogi1978 at gmx.de
Tue Oct 28 05:45:01 PST 2003


hi,

thats the version i tried... maybe it is a compiler option or something?
i use the gcc via cygwin on windows. i made configure to work with the
--enable-gcj option (without it fails). but "make install" does not
work. so i went to the /antlr/lib/cpp/src and tried 'make'. now im
linking against the generated antlr.a. maybe is there something wrong?

thx

Joerg
> -----Ursprüngliche Nachricht-----
> Von: Ric Klaren [mailto:klaren at cs.utwente.nl] 
> Gesendet: Dienstag, 28. Oktober 2003 13:30
> An: antlr-interest at yahoogroups.com
> Betreff: Re: [antlr-interest] ASTLabelType in c++ mode
> 
> 
> On Tue, Oct 28, 2003 at 01:13:00PM +0100, Jörg Hälker wrote:
> > i tried to use the ASTLabelType option in c++ mode. but if 
> i do this 
> > the gcc produces an error:
> > 
> > Parser.hpp:115: conflicting return type specified for `virtual 
> > RefMyAST Parser::getAST()'
> > 
> > /usr/antlr/lib/cpp/antlr/Parser.hpp:103: overriding `virtual 
> > antlr::RefAST antlr::Parser::getAST()'
> > 
> > any suggestions what i could do to solve this problem?
> 
> Yup that's a problem with the newer gcc's and vc's too I 
> think. Grab a development snapshot from 
> 
http://wwwhome.cs.utwente.nl/~klaren/antlr/

Cheers,

Ric
--
-----+++++*****************************************************+++++++++
-----+++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893722  ----
-----+++++*****************************************************+++++++++
-----+++++-------
  Chaos often breeds life, when order breeds habit.
  --- Henry B. Adams, The Education of Henry Adams

 

Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ 





 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list