Can you guys who use Gfortran check its compilation process on how it treats source lines which go beyond 72 character length but have spaces or tabs in the line? I am trying to compile some third-party code made in Gfortran and get hell amount of such situations which FTN95 treats as errors while GFortran either misses errors and allows broken code to run or by ignoring all spaces and tabs allows such longer then 72 character lines to be accepted.
Is
integer(4) :: ier4
double precision integer in Gfortran while and single precision in FTN95 ?
FTN95 give to this 'COMMENT - Specifying the kind of the type INTEGER with a constant is non-portable - 'SELECTED_INT_KIND(18)' would be better'
(Sorry, forum shows number eight as a smilings. How to make it showing eight as a number?)
- I get a lot of FTN95 diagnostics
*** Invalid KIND specifier
sometimes without showing the offending line or showing wrong line (this is usual 32bit FTN95 compiler, not 64 one) like this which is due to that time consuming to fix
NO ERRORS [<ALLOC_MXRCFG> FTN95 v8.20.0]
*** Invalid KIND specifier
COMMENT - Specifying the kind of the type REAL with a constant is non-portable
- 'SELECTED_REAL_KIND(6,37)' would be better
1 ERROR, 1 COMMENT [<ALLOC_MXLVLS> FTN95 v8.20.0]
I can send some subroutines to try on request, just PM me