Skip to content

The error code does not match the example error code #12

Description

@WexeI

Hello. I'm having problems with the examples

Code:

program main
  use ErrorInstanceModule
  use ErrorCriteriaModule
  implicit none

  type(ErrorCriteria) :: eh
  type(ErrorInstance) :: error
  call eh%init()
  error = eh%limit(3,0,2)
  call eh%trigger(error=error)
end program main

Expected results:

$ Error: Value must be between 0 and 2. Given value: 3.
$ ERROR STOP 105

Actual results:

←[91mError:←[0m Value must be between 0 and 2. Given value: 3.


ERROR STOP 1

What mean "←[91mError:←[0m" ?
I'm using fpm with gfortran on Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions