KWebWatch fails to compile with GCC 3.0:
monitor_set.cpp: In member function `void
MonitorSet::removeGroup(const
std::string&)':
monitor_set.cpp:1218: no matching function for call
to `std::vector<UrlGroup,
std::allocator<UrlGroup> >::erase(UrlGroup*&)'
/usr/include/g++-v3/bits/stl_vector.h:349: candidates
are:
std::__normal_iterator<_Tp*, std::vector<_Tp,
_Alloc> > std::vector<_Tp,
_Alloc>::erase(std::__normal_iterator<_Tp*,
std::vector<_Tp, _Alloc> >)
[with _Tp = UrlGroup, _Alloc =
std::allocator<UrlGroup>]
/usr/include/g++-v3/bits/stl_vector.h:356:
std::__normal_iterator<_Tp*, std::vector<_Tp,
_Alloc> > std::vector<_Tp,
_Alloc>::erase(std::__normal_iterator<_Tp*,
std::vector<_Tp, _Alloc> >,
std::__normal_iterator<_Tp*, std::vector<_Tp,
_Alloc> >) [with _Tp =
UrlGroup, _Alloc = std::allocator<UrlGroup>]
monitor_set.cpp: In member function `UrlGroup*
MonitorSet::groupFromUrlName(const std::string&)':
monitor_set.cpp:1237: cannot convert
`std::__normal_iterator<UrlGroup*,
std::vector<UrlGroup, std::allocator<UrlGroup> >
>' to `UrlGroup*' in
assignment
make[2]: *** [monitor_set.lo] Error 1
make[2]: Leaving directory
`/home/hg/kwebwatch-0.90/libwebwatch'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hg/kwebwatch-0.90'
make: *** [all-recursive-am] Error 2