Skip to content

Build error with gfortran (MSYS2) on windows #1030

@khaors

Description

@khaors

Description

Hi everyone, I just updated MSYS2 in my windows machine with gfortran 15.2 and I'm getting the following error:

.\.\src\temp\stdlib_sorting_sort_index.f90:60:46:

   53 | submodule(stdlib_sorting) stdlib_sorting_sort_index
      |                        2
......
   60 |     module subroutine int8_sort_index_default( array, index, work, iwork, reverse )
      |                                              1
Error: Procedure 'int8_sort_index_default' at (1) is already defined at (2)
compilation terminated due to -fmax-errors=1.
<ERROR> Compilation failed for object " src_temp_stdlib_sorting_sort_index.f90.o "
<ERROR> stopping due to failed compilation
STOP 1

Expected Behaviour

No compilation error

Version of stdlib

efb26ca

Platform and Architecture

Windows

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