diff --git a/pymake/utils/_compiler_switches.py b/pymake/utils/_compiler_switches.py index d19eff4..9e37669 100644 --- a/pymake/utils/_compiler_switches.py +++ b/pymake/utils/_compiler_switches.py @@ -830,7 +830,7 @@ def _set_fflags(target, fc="gfortran", argv=True, osname=None, verbose=False): "-Wunused-label", "-Wunused-variable", "-pedantic", - "-std=f2008", + "-std=f2018", "-Wcharacter-truncation", ] diff --git a/pymake/utils/_meson_build.py b/pymake/utils/_meson_build.py index 0a18d45..5644c2c 100644 --- a/pymake/utils/_meson_build.py +++ b/pymake/utils/_meson_build.py @@ -551,7 +551,7 @@ def _create_main_meson_build( else: line += "false',\n" if target in ("mf6", "libmf6", "zbud6"): - line += "\t\t'fortran_std=f2008'\n" + line += "\t\t'fortran_std=f2018'\n" line += "\t])\n\n" f.write(line)