Hello AGTK developers,
trying to compile the latest CVS version of AGLIB on linux (gcc 2.95.3),
I get the following error:
agf/Transcriber.cc: In function `void trim(string &)':
agf/Transcriber.cc:134: no matching function for call to
`basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::clear ()'
agf/Transcriber.cc: In function `void mk_ag(const AGId &, DOMNode *)':
agf/Transcriber.cc:261: no matching function for call to
`basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::clear ()'
Maybe the two calls to string::clear() should be replaced by
string::erase()?
I have also noticed that the compilation won't work with Xerces-C V1.7.0
any more. I had success with V2.0.0.
Which version of Xerces-C do you recommend?
Regards.
Matthias
|