[Bug fortran/52313] New: useless error message for old version of .mod file
daniel.price at monash dot edu
gcc-bugzilla@gcc.gnu.org
Sun Feb 19 23:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52313
Bug #: 52313
Summary: useless error message for old version of .mod file
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: daniel.price@monash.edu
This is a fairly minor request, but should be an easy one to fix. When
upgrading gfortran to a newer version, you often get the following error
message:
use blah
1
Fatal Error: Parse error when checking module version for file 'blah.mod'
opened at (1)
...cryptically referring to the fact that the module was previously compiled
with an old version of gfortran.
Any chance this can be changed to something more understandable by humans?
My suggestion is:
"Fatal error: 'blah.mod' module version is wrong, most likely because it was
compiled with an old version of gfortran. Delete the .mod file and retry."
(this bug report is because I got a support request because some code I support
didn't compile with a new version of gfortran)
Thanks,
Daniel
More information about the Gcc-bugs
mailing list