Comment 46 for bug 135874

Revision history for this message
João Pinto (joaopinto) wrote :

3.9 fails to build with Jaunty's gcc:

StdString.h: In member function ‘int CStdStr<CT>::Replace(typename std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >::const_pointer, typename std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >::const_pointer) [with CT = char]’:
ScreenEvaluation.cpp:412: instantiated from here
StdString.h:1090: error: no matching function for call to ‘replace(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, const char*&)’
make[3]: *** [ScreenEvaluation.o] Error 1