diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-12 14:44:28 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-25 13:08:56 +0200 |
commit | 07a2fe2f00122b514a5119b724581ea020d2c6ea (patch) | |
tree | fb3577660d7cb61519da2cc70640e84dbbe3ead0 /docs/markdown/snippets | |
parent | 8313e8fd54c95459efbc413bb60d460cce10a12b (diff) | |
download | meson-07a2fe2f00122b514a5119b724581ea020d2c6ea.zip meson-07a2fe2f00122b514a5119b724581ea020d2c6ea.tar.gz meson-07a2fe2f00122b514a5119b724581ea020d2c6ea.tar.bz2 |
complete gfortran/intel/intel-cl fortran_std test
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/fortran_std.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/markdown/snippets/fortran_std.md b/docs/markdown/snippets/fortran_std.md new file mode 100644 index 0000000..2170a5e --- /dev/null +++ b/docs/markdown/snippets/fortran_std.md @@ -0,0 +1,14 @@ +## `fortran_std` option + +**new in 0.53.0** +Akin to the `c_std` and `cpp_std` options, the `fortran_std` option sets Fortran compilers to warn or error on non-Fortran standard code. +Only the Gfortran and Intel Fortran compilers have support for this option. +Other Fortran compilers ignore the `fortran_std` option. + +Supported values for `fortran_std` include: + +* `legacy` for non-conforming code--this is especially important for Gfortran, which by default errors on old non-compliant Fortran code +* `f95` for Fortran 95 compliant code. +* `f2003` for Fortran 2003 compliant code. +* `f2008` for Fortran 2008 compliant code. +* `f2018` for Fortran 2018 compliant code.
\ No newline at end of file |