#740 uggridintersections.cc does not compile for me
Metadata
Property | Value |
---|---|
Reported by | Sven Marnach (sven@pantoffel-wg.de) |
Reported at | Feb 15, 2010 13:32 |
Type | Bug Report |
Version | 1.2 |
Operating System | Unspecified / All |
Last edited by | Jö Fahlke (jorrit@jorrit.de) |
Last edited at | Feb 16, 2010 13:37 |
Closed by | Jö Fahlke (jorrit@jorrit.de) |
Closed at | Feb 16, 2010 13:37 |
Closed in version | Unknown |
Resolution | Fixed |
Comment |
Description
I get a very strange error message:
/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/home/sven/dune/common -I../../.. -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/sven/local/ug-parallel/include -DENABLE_UG -DModelP -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -ggdb -O2 -Wall -Wno-sign-compare -MT libuggrid_la-uggridintersections.lo -MD -MP -MF .deps/libuggrid_la-uggridintersections.Tpo -c -o libuggrid_la-uggridintersections.lo test -f 'uggridintersections.cc' || echo './'
uggridintersections.cc
libtool: compile: g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I/home/sven/dune/common -I../../.. -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/home/sven/local/ug-parallel/include -DENABLE_UG -DModelP -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -ggdb -O2 -Wall -Wno-sign-compare -MT libuggrid_la-uggridintersections.lo -MD -MP -MF .deps/libuggrid_la-uggridintersections.Tpo -c uggridintersections.cc -o libuggrid_la-uggridintersections.o
uggridintersections.cc:13: error: prototype for 'const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLevelIntersection::dimworld>& Dune::UGGridLevelIntersection::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLevelIntersection::dim - 1)>&) const' does not match any in class 'Dune::UGGridLevelIntersection'
../../../dune/grid/uggrid/uggridintersections.hh:133: error: candidate is: const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLevelIntersection::dimworld>& Dune::UGGridLevelIntersection::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLevelIntersection::dim - 1)>&) const
uggridintersections.cc:213: error: prototype for 'const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLeafIntersection::dimworld>& Dune::UGGridLeafIntersection::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLeafIntersection::dim - 1)>&) const' does not match any in class 'Dune::UGGridLeafIntersection'
../../../dune/grid/uggrid/uggridintersections.hh:361: error: candidate is: const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLeafIntersection::dimworld>& Dune::UGGridLeafIntersection::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLeafIntersection::dim - 1)>&) const
Actually, the prototypes given in the "prototypes does not match" is exactly the same as the one given in the "candidate is" message.
$ g++ --version g++ (Debian 4.4.2-9) 4.4.3 20100108 (prerelease)