[Dune] [#740] uggridintersections.cc does not compile for me
Dune
flyspray at dune-project.org
Mon Feb 15 14:32:08 CET 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Sven Marnach (sven)
Attached to Project - Dune
Summary - uggridintersections.cc does not compile for me
Task Type - Bug Report
Category - Dune Modules
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 1.2
Due in Version - Undecided
Due Date - Undecided
Details - 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<GridImp>::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLevelIntersection<GridImp>::dim - 1)>&) const' does not match any in class 'Dune::UGGridLevelIntersection<GridImp>'
.../../../dune/grid/uggrid/uggridintersections.hh:133: error: candidate is: const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLevelIntersection<GridImp>::dimworld>& Dune::UGGridLevelIntersection<GridImp>::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLevelIntersection<GridImp>::dim - 1)>&) const
uggridintersections.cc:213: error: prototype for 'const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLeafIntersection::dimworld>& Dune::UGGridLeafIntersection<GridImp>::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLeafIntersection<GridImp>::dim - 1)>&) const' does not match any in class 'Dune::UGGridLeafIntersection<GridImp>'
.../../../dune/grid/uggrid/uggridintersections.hh:361: error: candidate is: const Dune::FieldVector<typename GridImp::ctype, Dune::UGGridLeafIntersection<GridImp>::dimworld>& Dune::UGGridLeafIntersection<GridImp>::outerNormal(const Dune::FieldVector<typename GridImp::ctype, (Dune::UGGridLeafIntersection<GridImp>::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)
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=740
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list