[dune-pdelab] parameter pack expansion error in powergridfunctionspace.hh
Eike Mueller
E.Mueller at bath.ac.uk
Wed Jun 17 13:35:22 CEST 2015
Dear DUNE PDELab,
I ran into a problem when compiling a simple finite volume test case. It falls over with the following error message:
In file included from /home/n/em459/scratch/git_workspace/dune/dune-pdelab/dune/pdelab/gridfunctionspace/gridfunctionspace.hh(32),
from /home/n/em459/scratch/git_workspace/dune/dune-operatordiagonal/src/dune-operatordiagonal.cc(13):
/home/n/em459/scratch/git_workspace/dune/dune-pdelab/dune/pdelab/gridfunctionspace/powergridfunctionspace.hh(203): error: parameter pack "Children" was referenced but not expanded
PowerGridFunctionSpace(std::shared_ptr<Children>... children)
^
compilation aborted for /home/n/em459/scratch/git_workspace/dune/dune-operatordiagonal/src/dune-operatordiagonal.cc (code 2)
make[2]: *** [src/CMakeFiles/dune-operatordiagonal.dir/dune-operatordiagonal.cc.o] Error 2
make[1]: *** [src/CMakeFiles/dune-operatordiagonal.dir/all] Error 2
make: *** [all] Error 2
Should this be
"std::shared_ptr<Children...> children"
instead of
"std::shared_ptr<Children>... children"
in line 203 of powergridfunctionspace.hh? If I make this change it compiles fine.
I'm using the pdelab trunk and compile with the intel compiler (icpc (ICC) 15.0.0 20140723).
Thanks,
Eike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150617/419aa620/attachment.htm>
More information about the dune-pdelab
mailing list