Description: Compilation fixes needed when CMIP6 is defined, to fix implicit warnings
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2026-02-14
Forwarded: no

Index: cdftools-4.0.0/src/modcdfnames_CMIP6.h90
===================================================================
--- cdftools-4.0.0.orig/src/modcdfnames_CMIP6.h90
+++ cdftools-4.0.0/src/modcdfnames_CMIP6.h90
@@ -45,6 +45,11 @@
   CHARACTER(LEN=256) :: cn_glamv='glamv', cn_gphiv='gphiv'   !:  glam gphi
   CHARACTER(LEN=256) :: cn_glamf='glamf', cn_gphif='gphif'   !:  glam gphi
 
+  ! Unused. Included for nambroken definition in modcdfnames
+  CHARACTER(LEN=256) :: cn_dept3d='gdept_0'                  !: initial dept 3D
+  CHARACTER(LEN=256) :: cn_ve3t0='e3t_0'                     !: e3. (3D). (at rest)
+  CHARACTER(LEN=256) :: cn_ve3u0='e3u_0', cn_ve3v0='e3v_0'   !: e3.
+
   ! Mask variables
   CHARACTER(LEN=256) :: cn_tmask='tmask', cn_umask='umask'   !:  tmask, umask
   CHARACTER(LEN=256) :: cn_vmask='vmask', cn_fmask='fmask'   !:  vmask, fmask
