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

Add -fallow-argument-mismatch if GNU Fortran 10.0.0 is used #63

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

wkliao
Copy link
Member

@wkliao wkliao commented Jun 22, 2020

Starting from GNU Fortran 10.0.0, function/subroutine argument type
mismatch becomes a compile error. A new compile command-line option
"-fallow-argument-mismatch" can turn these errors into warnings. This
PR checks whether MPI Fortran compilers recognize this command-line
option and, if yes, adds it automatically to FFLAGS and FCFLAGS.

Starting from GNU Fortran 10.0.0, function/subroutine argument type
mismatch becomes a compile error. A new compile command-line option
"-fallow-argument-mismatch" can turn these errors into warnings. This
PR checks whether MPI Fortran compilers recognize this command-line
option and, if yes, adds it automatically to FFLAGS and FCFLAGS.
@wkliao wkliao merged commit fc7af03 into master Jun 23, 2020
@wkliao wkliao mentioned this pull request Jun 23, 2020
@wkliao wkliao deleted the gfortran_10_arg_mismatch branch September 2, 2021 18:11
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

Successfully merging this pull request may close these issues.

None yet

1 participant