Ticket #62 (closed: fixed)

Opened 6 years ago

Last modified 6 years ago

Doesn't compile on Solaris 8

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

Description

I get this compile error on Solaris 8 (gcc 3.4.3, subversion 1.3.0):

if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/svnfrontend/fronthelpers -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I../.. -I../../src -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -DSOLARIS2=6 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/gorbag/exta/cad/externals/SOLARIS/include/apr-0 -I/gorbag/exta/cad/externals/SOLARIS/include/apr-0 -I/gorbag/exta/cad/externals/SOLARIS/include/neon -D_LARGEFILE64_SOURCE -DNE_LFS -I/gorbag/exta/cad/externals/SOLARIS/include/subversion-1 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-check-new -fno-common -fexceptions -MT svnactions.lo -MD -MP -MF ".deps/svnactions.Tpo"

-c -o svnactions.lo test -f 'svnactions.cpp' || echo './'svnactions.cpp;

then mv -f ".deps/svnactions.Tpo" ".deps/svnactions.Plo"; else rm -f ".deps/svnactions.Tpo"; exit 1; fi 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.) svnactions.cpp: At global scope: svnactions.cpp:569: warning: unused parameter 'peg' svnactions.cpp:434: warning: unused parameter 'peg'

Change History

Changed 6 years ago by Gorbag

  • owner changed from anonymous to alwin
  • status changed from new to assigned

Changed 6 years ago by alwin

Hm. What happens when you insert into cacheentry.h in line 27 or 28 a line

#include <algorithm>

?

Changed 6 years ago by Gorbag

That makes it compile, thanks.

Changed 6 years ago by alwin

  • keywords RESOLVED added
  • status changed from assigned to closed
  • resolution set to fixed
  • milestone set to 0.8.x

ok, sorry, stupid error, I fix it in repository, too.

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.