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

Using gfortran < 10.0 may cause compilation error #640

Closed
rcabell opened this issue May 23, 2022 · 0 comments
Closed

Using gfortran < 10.0 may cause compilation error #640

rcabell opened this issue May 23, 2022 · 0 comments

Comments

@rcabell
Copy link
Collaborator

rcabell commented May 23, 2022

When compiling with gfortran 9.4, the following error occurs:

gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?

Expected Behavior

Compiling with older versions of gfortran should work correctly.

Current Behavior

Compiling with older versions of gfortran does not work correctly due to use of newer compiler option

Possible Solution

Add logic during configuration step (either ./configure script or CMake) to add that flag only if using gfortran > 10.0

@rcabell rcabell mentioned this issue Feb 9, 2023
6 tasks
@rcabell rcabell closed this as completed Feb 23, 2023
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