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

Eike Mueller E.Mueller at bath.ac.uk
Wed Jun 17 14:22:06 CEST 2015


Hi Dominic,


thanks. Steffen's post was from last year and based on icc 14.0. Intel claim that they would fix it, but I still get it with icc 15.0.


Let's see what Steffen says when he is back.


I can always fall back onto gcc.


Eike


________________________________
From: Dominic Kempf <dominic.r.kempf at gmail.com>
Sent: 17 June 2015 12:45
To: Eike Mueller
Cc: dune-pdelab at dune-project.org
Subject: Re: [dune-pdelab] parameter pack expansion error in powergridfunctionspace.hh

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<mailto: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<mailto: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/0408ab81/attachment.htm>


More information about the dune-pdelab mailing list