Skip to content

compiler colourful output flag leaks to fortran compiler #96

Open
@LXYan2333

Description

@LXYan2333

though this project is mainly for cpp, I still use this for my c/fortran project and found this line:

add_compile_options(-fcolor-diagnostics)

will add compile flags for fortran compiler, and if one use clang and clang++ to compile c/c++ code, and use gfortran to compile fortran code (this is allowed since the clang and gfortran can pass the FortranCInterface_VERIFY test), gfortran just complain about unknow compile flag and exit.

maybe the flags should be added for each language enabled on this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions