[dune-functions] pdelab problems after dune-typetree changes

Carsten Gräser graeser at mi.fu-berlin.de
Wed Sep 16 00:02:11 CEST 2015


Hi Steffen,

Am 15.09.2015 um 23:29 schrieb Steffen Müthing:
> Hi Oliver,
> 
> thanks for the patch, applied.
> 
> As to the other problems: You live and learn. I tested the implementation with GCC 5, but apparently
> GCC 4.9 still has some bugs with its template aliases. I replaced some occurrences of
> 
> template<typename T>
> struct lazy
> {
>   template<typename… U>
>   using evaluate = decltype(some_stuff_with_T_and_u);
> };
> 
> with
> 
> template<typename T>
> struct lazy
> {
>   template<typename… U>
>   struct evaluate
>   {
>     using type = decltype(some_stuff_with_T_and_u);
>   };
> };
> 
> and now GCC 4.9 is happy on my machine. Could you please test whether updating typetree helps you
> as well?
for me this did the trick. Stokes example and Taylor-Hood test compile
again. Thanks!

Best,
Carsten

[...]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-functions/attachments/20150916/90992f3c/attachment.sig>


More information about the dune-functions mailing list