Started looking at this as part of #206 but it seems the code base can be brought fully in line with standard Fortran 2008 (at least according to gfortran) with a few small tweaks. This PR implements the small changes necessary and adds the -std=f2008 flag for gfortran in cmake.
Overall I'd strongly suggest formally adopting the 2008 standard as it's readily achievable and will help to ensure cross compiler/system compatibility in the long term.
I'll check if ifort has any additional recommendations as a follow up.
Started looking at this as part of #206 but it seems the code base can be brought fully in line with standard Fortran 2008 (at least according to gfortran) with a few small tweaks. This PR implements the small changes necessary and adds the
-std=f2008
flag for gfortran in cmake.Overall I'd strongly suggest formally adopting the 2008 standard as it's readily achievable and will help to ensure cross compiler/system compatibility in the long term.
I'll check if ifort has any additional recommendations as a follow up.