[developers] two PET fixes checked into svn

Rebecca Dridan bec.dridan at gmail.com
Thu Feb 15 10:42:08 CET 2007


This last fix won't compile for me:

xml-tokenizer.cpp: In member function ‘virtual void 
tXMLTokenizer::tokenize(std::string, inp_list&)’:
xml-tokenizer.cpp:30: error: conversion from ‘size_t’ to non-scalar type 
‘__gnu_cxx::__normal_iterator<char*, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >’ requested
xml-tokenizer.cpp:34: error: no match for ‘operator=’ in ‘it = input. 
std::basic_string<_CharT, _Traits, _Alloc>::find_last_of [with _CharT = 
char, _Traits = std::char_traits<char>, _Alloc = 
std::allocator<char>](10, 4294967295u)’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator.h:634: 
note: candidates are: __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> > >::operator=(const 
__gnu_cxx::__normal_iterator<char*, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >&)
make[2]: *** [xml-tokenizer.o] Error 1

Is this due to library version issues?
The previous version is good enough for my purposes now, but I thought 
I'd let you know.

Thanks,

Rebecca



Bernd Kiefer wrote:

>Hi,
>
>i just checked in two fixes, one of which should resolve ticket #2 by
>Francis (could you check also it, please? thanks.) The other thing was
>that file reading in XML mode was broken and now works again.
>
>Greetings,
>
>        Bernd
>
>  
>




More information about the developers mailing list