Changes between Version 1 and Version 4 of Ticket #2201


Ignore:
Timestamp:
2019-01-15T18:19:30+01:00 (15 months ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2201 – Description

    v1 v4  
    11==== Context  
    22Compilation fails with gfortran 4.8 and key_mpp_mpi activated with message: 
     3{{{#!make 
    34CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC ::   c_delaylist = (/ 'cflice', 'fwb'/) 
    45                                                                           1 
    56Error: Different CHARACTER lengths (6/3) in array constructor at (1)  
    6  
     7}}} 
    78Same error in iom_nf90.f90 and may other places with same initialisation using character array constructor 
    89 
     
    1112 
    1213==== Recommendation 
    13 Not sure, this syntax makes it but is f2003 : CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC ::   c_delaylist = (/ character(32):: 'cflice', 'fwb'/) 
     14Not sure, this syntax makes it but is f2003: 
     15{{{#!f 
     16CHARACTER(len=*), DIMENSION(nbdelay), PUBLIC ::   c_delaylist = (/ character(32):: 'cflice', 'fwb'/) 
     17}}}