#489 test failure: dune-grid/grid/io/file/test/gnuplottest
Metadata
| Property | Value | 
|---|---|
| Reported by | Elias Pipping (elias.pipping@fu-berlin.de) | 
| Reported at | Jan 31, 2009 13:38 | 
| 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 | Feb 2, 2009 10:32 | 
| Closed by | Oliver Sander (oliver.sander@tu-dresden.de) | 
| Closed at | Feb 2, 2009 10:32 | 
| Closed in version | Unknown | 
| Resolution | Fixed | 
| Comment | In revision 4814. Thanks, Elias! | 
Description
gnuplottest fails to compile
pipping@treibsand ~/Desktop/dune-grid/grid/io/file/test $ make gnuplottest g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../../.. -I/home/pipping/Desktop/dune-common -I../../../.. -g -Wall -O0 -g3 -O0 -fno-inline -MT gnuplottest.o -MD -MP -MF .deps/gnuplottest.Tpo -c -o gnuplottest.o gnuplottest.cc gnuplottest.cc: In function 'void testIO(const GV&, std::string)': gnuplottest.cc:20: error: wrong number of template arguments (2, should be 1) ../../../../dune/grid/io/file/gnuplot.hh:27: error: provided for 'template class Dune::GnuplotWriter' gnuplottest.cc:20: error: invalid type in declaration before '(' token gnuplottest.cc:24: error: request for member 'addCellData' in 'gnuplot', which is of non-class type 'int' gnuplottest.cc:27: error: request for member 'write' in 'gnuplot', which is of non-class type 'int' gnuplottest.cc: In function 'void testIO(const GV&, std::string) [with GV = Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::SGrid<1, 1>, InteriorBorder_Partition> >]': gnuplottest.cc:37: instantiated from here gnuplottest.cc:20: error: initializer expression list treated as compound expression gnuplottest.cc:20: error: cannot convert 'const Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::SGrid<1, 1>, InteriorBorder_Partition> >' to 'int' in initialization gnuplottest.cc:23: error: request for member 'addVertexData<std::vector<float, std::allocator > >' in 'gnuplot', which is of non-class type 'int' gnuplottest.cc: In function 'void testIO(const GV&, std::string) [with GV = Dune::GridView<Dune::DefaultLevelGridViewTraits<const Dune::SGrid<1, 1>, InteriorBorder_Partition> >]': gnuplottest.cc:38: instantiated from here gnuplottest.cc:20: error: initializer expression list treated as compound expression gnuplottest.cc:20: error: cannot convert 'const Dune::GridView<Dune::DefaultLevelGridViewTraits<const Dune::SGrid<1, 1>, InteriorBorder_Partition> >' to 'int' in initialization gnuplottest.cc:23: error: request for member 'addVertexData<std::vector<float, std::allocator > >' in 'gnuplot', which is of non-class type 'int' make: *** [gnuplottest.o] Error 1