Changes between Version 1 and Version 4 of Ticket #2201
- Timestamp:
- 2019-01-15T18:19:30+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2201 – Description
v1 v4 1 1 ==== Context 2 2 Compilation fails with gfortran 4.8 and key_mpp_mpi activated with message: 3 {{{#!make 3 4 CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC :: c_delaylist = (/ 'cflice', 'fwb'/) 4 5 1 5 6 Error: Different CHARACTER lengths (6/3) in array constructor at (1) 6 7 }}} 7 8 Same error in iom_nf90.f90 and may other places with same initialisation using character array constructor 8 9 … … 11 12 12 13 ==== Recommendation 13 Not sure, this syntax makes it but is f2003 : CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC :: c_delaylist = (/ character(32):: 'cflice', 'fwb'/) 14 Not sure, this syntax makes it but is f2003: 15 {{{#!f 16 CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC :: c_delaylist = (/ character(32):: 'cflice', 'fwb'/) 17 }}}