Lev,
when trying to compile the newest version of dealII, I get a bunch of errors:
[ 46%] Building CXX object
source/fe/CMakeFiles/obj_fe.debug.dir/mapping_q_generic.cc.o
/home/lev/aspect/dealii_debug/source/fe/mapping_q_generic.cc:443: error:
using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/source/fe/mapping_q_generic.cc:497: error:
using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/source/fe/mapping_q_generic.cc:575: error:
using ‘typename’ outside of template
I tried removing typenames from these 3 positions, but then other errors came
up:
[ 53%] Building CXX object
source/numerics/CMakeFiles/obj_numerics.debug.dir/vector_tools_rhs.cc.o
In file included from
/home/lev/aspect/dealii_debug/source/numerics/vector_tools_rhs.cc:83:
/home/lev/aspect/dealii_debug/build/source/numerics/vector_tools_rhs.inst:17:
error: using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/build/source/numerics/vector_tools_rhs.inst:25:
error: using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/build/source/numerics/vector_tools_rhs.inst:40:
error: using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/build/source/numerics/vector_tools_rhs.inst:48:
error: using ‘typename’ outside of template
/home/lev/aspect/dealii_debug/build/source/numerics/vector_tools_rhs.inst:63:
error: using ‘typename’ outside of template
(...179 more)
Hints on how to fix it would be appreciated.
These .inst files are generated by expanding .inst.in files. The problem needs
to be fixed there, and that turned out to be rather straightforward:
https://github.com/dealii/dealii/pull/3648
Nobody else seems to be seeing these because everyone is using newer compilers
that support C++11 where this is no longer an error. Thanks for reporting this!
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.