[antlr-interest] make errors on Linux
markkant2001 <markkant2001 at yahoo.com>
markkant2001 at yahoo.com
Tue Feb 18 04:16:02 PST 2003
Hi,
I am new to antlr. I tried to
configure
make
I fixed the problems with configure ( antlrall -> antlr.ar )
Then I tried make again. Now I get the following errors:
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 `...'
ANTLRUtil.cpp:63: implicit declaration of function `int
antlr::IOException(...)'ANTLRUtil.cpp:104: warning: cannot pass
objects of type
`basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>' through `...'
Will appreciate any help
Thanks
NK
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list