Improve support for MSVC
I get two kind of errors when building against MSVC:
- Usage of
M_PI
. This can be changed byDune::StandardMathematicalConstants<double>::pi()
- Usage of
mode_t
Linux file descriptors. This seems to be only used bymkdir_r
, so an option is to re-wreite this function in terms of C++17 permissions:std::filesystem::permissions
.
Here a CI with the errors: https://github.com/SoilRos/dune-super-build/actions/runs/11943956849/job/33294007415