Skip to content

Support disabling of implicit typing in package manifest #577

@awvwgk

Description

@awvwgk

Motivation

Allow packages to opt-out from default implicit typing in Fortran. This allows to get the full befits of implicit none in every scope without having to remember typing it.

More difficult is whether we can find options in every compiler to actually guarantee that this is working.

Specification

The build table seems most appropriate for this option:

[build]
implicit-typing = false

Prior Art

Compiler flags:

compiler option
GFortran -fimplicit-none
NVHPC -Mdclchk
nagfor -u
Cray/HPE -eI
SilverFrost FTN95 /IMPLICIT_NONE
ifort (Windows) /warn:declarations,errors
ifort (Linux, macOS) -warn declarations,errors
flang -fimplicit-none-type-always
IBM XL Fortran -qundef or -u

Additional Information

Related issue #359
Draft PR: #506

Metadata

Metadata

Assignees

No one assigned

    Labels

    specificationIssue regarding fpm manifest and model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions