geodynamics / aspect

A parallel, extensible finite element code to simulate convection in both 2D and 3D models.
https://aspect.geodynamics.org/
Other
227 stars 237 forks source link

[WIP] Enable deprecation warnings for tester #6110

Closed gassmoeller closed 4 weeks ago

gassmoeller commented 4 weeks ago

I got some weird test results in #6108 where tests were succeeding even though I expected them to fail with deprecation warnings. This PR just tries to enable the warnings without the fixes of #6108. Do not merge this yet, I expect the tester to fail.

gassmoeller commented 4 weeks ago

Ok, I think I understand now. The additional parameter cannot go into CMAKE_CXX_FLAGS because that one is overwritten by the DEAL_II_CXX_FLAGS. Instead the parameter needs to go into ASPECT_ADDITIONAL_CXX_FLAGS because that one is appended to the deal.II flags. This PR is no longer needed.