Skip to content

Compilation error in stdlib_io.f90 #890

Closed
@MilanSkocic

Description

@MilanSkocic

Description

I've got an error when compiling the stdlib in the io module either with gfortran 10 or gfortran 14 (std=f2008).

The error says:

  153 |            error stop trim(msgout)
      |                           1
Error: STOP code at (1) must be a scalar default CHARACTER or INTEGER constant expression

I think that the compilation error might be related to the change in the commit 6439a2c when call error_strop was replaced with error stop.

Does anyone have an idea how fix it?

Expected Behaviour

No error.

Version of stdlib

stdlib=* (in fpm.toml)

Platform and Architecture

Windows, Linux

Additional Information

No response

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