This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2011 20:37:08 +0000
- Subject: [Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'
- Auto-submitted: auto-generated
- References: <bug-50231-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50231
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |janus at gcc dot gnu.org
Resolution| |INVALID
--- Comment #1 from janus at gcc dot gnu.org 2011-08-29 20:37:08 UTC ---
(In reply to comment #0)
> fsubs.f90:2.29:
> USE SIZES, ONLY: DPSIZE
> 1
> Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'
>
> [....]
>
> Do you have any insights?
This error message indicates that your module "SIZES" has been compiled with a
different compiler version than the one you're using to compile fsubs.f90.
Please use the same compiler version for both!
This is not a compiler bug but a user error. I'm closing this PR as invalid.