On Sat, Mar 3, 2012 at 23:02, FX <fxcoud...@gmail.com> wrote: >> What if the .mod file has been created by another compiler? Or do we have a >> separate error message for that? > > For that, we get (only spelling was fixed by my patch, the message already > existed): > >> Fatal Error: File 'foo.mod' opened at (1) is not a GNU Fortran module file
Ah, good! Another thing I realized, would it be better to change the error message Cannot read module file 'blah.mod' opened at (1), because it was created by an older version of GNU Fortran to "because it was created by a different version of GNU Fortran", or something like that which would take into account the possibility that the .mod file was created by a newer GFortran version? -- Janne Blomqvist