Skip to content

Detect submodule dependencies #556

Closed
@rouson

Description

@rouson

If a procedure inside an example/ subdirectory has an interface in a module and the corresponding procedure definition in a submodule (which was largely the intent when submodule became a language feature in Fortran 2008), then a linking error results. It appears that fpm is only seeing the module dependency information captured in use statements but not in submodule statements.

To Do:

  • post a reproducer later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions