[new_tnnmg] Tests do not compile with g++-4.9.2., g++-5.2and g++-5.3.1
I noticed that the tests for the new_tnnmg
branch do not compile with the mentioned compilers.
For g++ 4.9.2 (the one from the "old" Debian Jessie), this is probably the same issue as in #3 (closed) but this time for in `normfunctional.hh'. I personally do not use this compiler anymore but it might be worth mentioning.
For g++ 5.2 and 5.3.1 (this is the one included with the current Ubuntu LTS, so not just a niche version), I get an error in the nonlinearperformancetest, see attached file tnnmg_gcc_5_2_error.txt.
This can be "fixed" by removing the
#include <dune/tnnmg/iterationsteps/nonlineargsstep.hh>
line in dune/tnnmg/functionals/quadraticfunctional.hh
. I don't see where the functional uses anything from the nonlineargsstep.hh
header, but I might be mistaken. Also, I am not sure what really causes the problem here, as g++ 6.3 and clang seem to be happy according to the CI.