Skip to content

semantic error: Assigned format label must be a scalar variable #883

Open
@oroppas

Description

@oroppas
./mis/ofp.f:1035:16: error: Assigned format label must be a scalar variable
   1950 WRITE (L,FMT) IHARM,(REAL(I),FREAL(I+1),I=1,K2,2)

gfortran spits out warning

./mis/ofp.f:1035.15:

 1950 WRITE (L,FMT) IHARM,(REAL(I),FREAL(I+1),I=1,K2,2)                 
               1
Warning: Legacy Extension: Non-character in FORMAT tag at (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    SemanticsIssues, such as unreported language constraint violations, that should be handled in semanticsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions