Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Ticket #66 (closed: fixed)

Opened 7 years ago

Last modified 7 years ago

Build stop `for_each' algorithm undeclared

Reported by: Nick Owned by: alwin
Priority: normal Milestone: 0.8.x
Component: All Version: 0.8.x
Severity: block Keywords: RESOLVED
Cc:

Description

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

Attachments

Change History

comment:1 Changed 7 years ago by Nick

  • Owner changed from anonymous to alwin
  • Status changed from new to assigned

comment:2 Changed 7 years ago by Nick

OK, sorry for the noise.

But hey! I sussed myself!

comment:3 Changed 7 years ago by alwin

  • Keywords RESOLVED added
  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone set to 0.8.x

np - its a stupid error.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.