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

Fixes for GCC10 #80

Merged
merged 3 commits into from
Apr 8, 2021
Merged

Fixes for GCC10 #80

merged 3 commits into from
Apr 8, 2021

Conversation

drsteve
Copy link
Collaborator

@drsteve drsteve commented Apr 8, 2021

This pull request adds a version check if the supplied compiler begins with gfortran (compatible with gfortran and gfortran-10, as name can depend on system setup).

If the compiler name starts with gfortran and the version number is greater-than-or-equal-to 10, the -fallow-argument-mismatch and -fallow-invalid-boz flags get added to Makefile.conf.

The addition of the first flag resolves #79 and the addition of the second flag provides a temporary workaround for #78

@ghost
Copy link

ghost commented Apr 8, 2021

Looks good: the code compiles without needing to manually modify Makefile.conf.

@drsteve drsteve merged commit 6d33cf4 into lanl:master Apr 8, 2021
@drsteve drsteve deleted the gcc10_fix branch April 9, 2021 15:13
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.

RAM-SCB won't compile under GCC10
1 participant