Skip to content

Non-trivial compiler warnings flagged in UFS debug mode #1131

@NickSzapiro-NOAA

Description

@NickSzapiro-NOAA

Description

Compiler warnings in UFS flag:

.../ufs-weather-model/FV3/ccpp/physics/physics/GWD/cires_ugwpv1_triggers.F90(301): warning #6717: This name has not been given an explicit type.   [TLIM_FGF]
          if (dtot >= tlim_fgf ) kex = kex+1

tlim_fgf is defined above this in get_spectra_tau_nstgw but not in get_spectra_tau_okw.

Maybe this line should have tlim_okw instead

Steps to Reproduce

I've added -Wall -Wextra in compling but not sure if those are needed to see this

Additional Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Machine: hercules
  • Compiler: intel debug

Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions