[dune-pdelab] parameter pack expansion error in powergridfunctionspace.hh

Dominic Kempf dominic.r.kempf at gmail.com
Wed Jun 17 13:45:26 CEST 2015


Hey Eike,

I think the issue is with icc. What I found googling was this:

https://software.intel.com/en-us/forums/topic/501502

For some reason, the reporter is called "Steffen M.".....

So, I guess, the expert on the matter will return from holidays tomorrow.

Best,
Dominic

On Wed, Jun 17, 2015 at 1:35 PM, Eike Mueller <E.Mueller at bath.ac.uk> wrote:

>  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
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150617/d4bfbe56/attachment.htm>


More information about the dune-pdelab mailing list