Closed fstein93 closed 2 weeks ago
Can one of the admins verify this patch?
@fstein93 it appears that this PR doesn't compile with GCC 8 (see https://storage.googleapis.com/cp2k-ci/dashboard_gcc8_report.txt). Any workaround? (I would personally drop GCC 8...)
I wouldn't mind dropping GCC 8 either.
I think Daint runs with an earlier subversion off GCC9, so GCC 8 may cover these kinds of checks. But it is up to you to decide on the testsuite. The workaround for GCC 8 is similar to this.
In certain cases, I have to drop the initialisers entirely as GCC8 has issues with some of them. I will drop them with GCC8 in these cases.
This PR adds default initializers to all types.