Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GNU build error #468

Merged
merged 1 commit into from
Apr 13, 2017
Merged

Fix GNU build error #468

merged 1 commit into from
Apr 13, 2017

Commits on Apr 13, 2017

  1. Fix GNU build error

    Commit aecb998 ("Fixes perfect restart issue in the ICE_SHELF
    module", 2017-04-07) introduced calls to `pass_var()` within a
    subroutine whose `ocean_grid_type` structure was `intent(in)`. Most
    compilers seem to be happy with this, but certain versions of gfortran
    would fail with the following error:
    
          call pass_var(CS%area_shelf_h, G%domain)
                                         1
        Error: Procedure argument at (1) is INTENT(IN) while interface specifies INTENT(INOUT)
    
    Changing the argument to `intent(inout)` fixes this.
    angus-g committed Apr 13, 2017
    Configuration menu
    Copy the full SHA
    6379c26 View commit details
    Browse the repository at this point in the history