Opened 3 months ago

#179 new defect

Compilation fails : gcc11 on Mac OS X

Reported by: omamce Owned by: ymipsl
Priority: major Component: XIOS
Version: 2.5 Keywords:
Cc:

Description

Hello,

Compilation fails : gcc11.3.0 on Mac OS X

mpif90 -o duration_interface.o -I/Users/marti/Unix/TOOLS/XIOS/inc -D__NONE__ -ffree-line-length-none -g -ggdb3 -O0 -I/opt/local/include   -I/Users/marti/Unix/TOOLS/XIOS/extern/boost -I/Users/marti/Unix/TOOLS/XIOS/extern/blitz -c /Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90
/Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90:9:4:

    9 |    TYPE, BIND(C) :: xios_##duration
      |    1
Error: Unclassifiable statement at (1)
/Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90:11:6:

   11 |    END TYPE xios_##duration
      |      1
Error: Expecting END MODULE statement at (1)
/Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90:17:25:

   17 |          IMPORT :: xios_##duration
      |                         1
Error: Cannot IMPORT 'xios_' from host scoping unit at (1) - does not exist.
/Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90:18:20:

   18 |          TYPE(xios_##duration), VALUE :: dur
      |                    1
Error: Malformed type-spec at (1)
/Users/marti/Unix/TOOLS/XIOS/ppsrc/xios/interface/fortran/duration_interface.f90:23:17:

   23 |       TYPE(xios_##duration) FUNCTION cxios_duration_convert_from_string(str, str_size) BIND(C)
      |                 1
Error: Malformed type-spec at (1)

XIOS release : 2348

Change History (0)

Note: See TracTickets for help on using tickets.