[antlr-interest] first time installing antlr

mark kant markkant2001 at yahoo.com
Wed Feb 19 01:24:24 PST 2003


I am trying antlr for the first time. I downloaded the
software and followed the necessary steps.
./configure  ( I changed the antlrall.jar to
antlr.jar)
Now,  when I run 

make, 

I get the following errors:



Building ANTLRUtil.o
In file included from ANTLRUtil.cpp:9:
../antlr/IOException.hpp:25: syntax error before `;'
../antlr/IOException.hpp:27: parse error before `&'
../antlr/IOException.hpp:30: missing ';' before right
brace
../antlr/IOException.hpp:32: semicolon missing after
declaration of `class antlr::IOException'
../antlr/IOException.hpp: In function `int
antlr::IOException(const string &)':
../antlr/IOException.hpp:32: base initializers not
allowed for non-member functions
../antlr/IOException.hpp:34: warning: control reaches
end of non-void function `antlr::IOException(const
string &)'
../antlr/IOException.hpp: At top level:
../antlr/IOException.hpp:36: destructors must be
member functions
../antlr/IOException.hpp:36: virtual outside class
declaration
../antlr/IOException.hpp:41: parse error before `}'
ANTLRUtil.cpp: In function `class string
antlr::read_string(istream &)':
ANTLRUtil.cpp:54: implicit declaration of function
`int antlr::eatwhite(...)'
ANTLRUtil.cpp:54: warning: cannot pass objects of type
`istream' through `...'

Any suggestions ?

Thanks
MK

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

 

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



More information about the antlr-interest mailing list