Skip to content

#525 graphtest doesn't compile

Metadata

Property Value
Reported by Oliver Sander (oliver.sander@tu-dresden.de)
Reported at Mar 18, 2009 16:10
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Jun 4, 2009 13:21
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Jun 4, 2009 13:21
Closed in version Unknown
Resolution Fixed
Comment This has been fixed for a while. Why not close the bug report?

Description

graphtest is dune-istl doesn't compile

g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/home/haile/sander/dune-1.2/dune-common -I../../.. -g -O2 -Wall -MT graphtest.o -MD -MP -MF .deps/graphtest.Tpo -c -o graphtest.o graphtest.cc
graphtest.cc: In function ‘void printWeightedGraph(G&, std::ostream&, const N&)’:
graphtest.cc:351: error: ‘std::tr1’ has not been declared
graphtest.cc:352: error: ‘std::tr1’ has not been declared
graphtest.cc:359: error: expected nested-name-specifier before ‘remove_const’
graphtest.cc:359: error: expected initializer before ‘<’ token
graphtest.cc:360: error: ‘is_same’ was not declared in this scope
graphtest.cc:360: error: ‘Mutable’ was not declared in this scope
graphtest.cc:360: error: wrong number of template arguments (2, should be 3)
/home/haile/sander/dune-1.2/dune-common/dune/common/typetraits.hh:338: error: provided for ‘template<bool first, class T1, class T2> struct Dune::SelectType’

[...]

This bug exists on the 1.2 release branch.