trying to get xvoice to compile under 3.0. this code
generates an error (it's in Error.h from the cvs sources from
http://xvoice.sourceforge.net/). it's creating a class fstring from
string, but it seems to piss off c++. code and error included. btw,
is the maintainer of xvoice subscribed to this list?
code:
35: class fstring : public string // error reporting
{
public:
void appendf(const char*, ...);
void vappendf(const char* fmt, va_list ap);
fstring() {};
fstring(const char *s) : string(s){};
fstring(size_type n, char c) : string(n,c){};
};
error:
Error.h:35: parse error before `{' token
Error.h:39: parse error before `)' token
Error.h:40: parse error before `const'
Error.h:41: parse error before `,' token
commenting out ": public string" gets rid of the error...
kevin
--
kevin at suberic.net "linux is a cancer" --steve ballmer
fork()'ed on 37058400 "released 25 august 1991, linux is a virgo" --me
meatspace place: home linux, not just a star-sign:
http://suberic.net/~kevinhttp://www.linux.com/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!