Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler colourful output flag leaks to fortran compiler #96

Open
LXYan2333 opened this issue Oct 23, 2024 · 0 comments
Open

compiler colourful output flag leaks to fortran compiler #96

LXYan2333 opened this issue Oct 23, 2024 · 0 comments

Comments

@LXYan2333
Copy link

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.

@LXYan2333 LXYan2333 changed the title compiler colourful output flags leaks to fortran compiler compiler colourful output flag leaks to fortran compiler Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant