Skip to content

Allow ABSTRACT INTERFACE to define submodule procedure interfaces  #120

@qolin1

Description

@qolin1

Consider a series of procedures in a number of SUBMODULEs. Each procedure requires its interface to be defined in the ancestor module.

The following refers to code in the ancestor module only, It does not refer to any changes in the submodules.

If many of these procedures have an identical interface (apart from the procedure name), it would be useful if the interfaces could be defined in a single ABSTRACT INTERFACE, and the resulting named interface used in subsequent PROCEDURE statements.

I asked in the Intel Fortran Forum if this were possible, but it appears it is not: see https://software.intel.com/en-us/forums/intel-fortran-compiler/topic/842383

I have attached the example file showing my existing code.

test.f90.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Clause 15Standard Clause 15: Procedures

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions