[antlr-interest] Installing C++ Antlr

Ric Klaren klaren at cs.utwente.nl
Fri Jun 11 08:30:00 PDT 2004


On Fri, Jun 11, 2004 at 03:52:58PM +0100, Anthony Youngman wrote:
> ASTFactory.cpp:15: istream: No such file or directory

Smells like a very old gcc. The problem is that it probably only has
istream.h and not the standard compliant istream include usually one can
work around this by symlinking the file x.h to x.

Another workaround is to grab a newer gcc and use that one for the complete
project (mixing C++ code of different gcc's is usually a bad idea due to a
load of ABI changes). If this suse still has 2.95.2/3 as compiler than
you'll love gcc 3 since it has a lot better error messages.

The latest 3.3 release gcc is a good one. 3.4 also does well but has more
trouble with 'old' code. (also error messages are a bit wackier, mostly I
guess due to the new frontend for C++ compiling is my guess)

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755  ----
-----+++++*****************************************************+++++++++-------
  Chaos always defeats order because it is better organized.
  --- Terry Pratchet



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list