# Meson & GFortran for Old Code

**URL:** <https://fortran-lang.discourse.group/t/meson-gfortran-for-old-code/2248>\
**Category:** Help\
**Created:** [November 9, 2021, 1:57am UTC](https://fortran-lang.discourse.group/t/meson-gfortran-for-old-code/2248 "2021-11-09T01:57:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mecej4](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/mecej4/32/855_2.png) [@mecej4](https://fortran-lang.discourse.group/u/mecej4)\
**Post date:** [November 9, 2021, 2:24am UTC](https://fortran-lang.discourse.group/t/meson-gfortran-for-old-code/2248/2 "2021-11-09T02:24:22Z")

</div>

Gfortran follows the convention that a file suffix of .F or .F90 indicates that the source file should be preprocessed before being handed to the compiler. Your source file, as shown in the error message, has .f as the file suffix. Change the case of the file suffix to upper case.

---

_[View the full topic](https://fortran-lang.discourse.group/t/meson-gfortran-for-old-code/2248)._
