[Bug fortran/50231] Fatal Error: Wrong module version '5' (expected '4') for file 'sizes.mod'

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 29 21:27:00 GMT 2011


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.



More information about the Gcc-bugs mailing list