id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
66	Build stop `for_each' algorithm undeclared	Nick	alwin	"Slackware 10 (heavily updated), GCC 3.3.4.

Latest svn fails to build on my system with this error:

cacheentry.h: In member function `void helpers::itemCache::listsubs_if(const
   QString&, T&) const [with T = helpers::ValidRemoteOnly]':
svnactions.cpp:1695:   instantiated from here
cacheentry.h:156: error: `for_each' undeclared (first use this function)
cacheentry.h:156: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
cacheentry.h: In member function `void
   helpers::cacheEntry::listsubs_if(QStringList&, T&) const [with T =
   helpers::ValidRemoteOnly]':
svnactions.cpp:160:   instantiated from here
cacheentry.h:99: error: `for_each' undeclared (first use this function)
make[4]: *** [svnactions.lo] Error 1


ADDITIONAL INFORMATION:
I fixed this by adding:

src/svnfrontend/cacheentry.h

// std::map 'cause QMap isn't usable
#include <map>
#include <qstring.h>
#include <qstringlist.h>
+#include <algorithm>

Nick"		closed	normal	0.8.x	All	0.8.x	block	fixed	RESOLVED	
