Menu

#18 warnings with gfortran 4.5

open
zgoubi (16)
1
2010-08-09
2010-08-09
sam tygier
No

building with gfortran 4.5 gives lots of new warnings.

truncation issues:
cubspl.f:44.72:
CM(i) = 6.d0* (YM(i+2) - YM(i+1)) / (XM(i+2) - XM(i+1)) + 6.d0*
1
Warning: Line truncated at (1)

can be fixed with the
-ffixed-line-length-none
FFLAGS

character declarations:
date2.f:29.17:
CHARACTER*3 MM(12)
1
Warning: Obsolescent feature: Old-style character length at (1)

looks like the preferred syntax is now
CHARACTER(3) MM(12)

the other warnings are probably much harder to fix
adpol.f:37.72:
GOTO(1,2,3) IK
1
Warning: Obsolescent feature: Computed GOTO at (1)

and

cavite.f:108.16:
RETURN 1
1
Warning: Obsolescent feature: Alternate RETURN at (1)

Discussion

  • sam tygier

    sam tygier - 2010-08-09
    • priority: 5 --> 1
     
  • sam tygier

    sam tygier - 2010-08-09

    when "-ffixed-line-length-none" is added to FFLAGS it is necessary to remove a spurious quote mark from the end of line 79 of zpop/clorbi.f

     

Log in to post a comment.

MongoDB Logo MongoDB