Skip to content
Snippets Groups Projects
Commit 08d6f5f2 authored by Boris Basic's avatar Boris Basic
Browse files

Fix compilation with GFortran 10 and above

parent c569d444
No related merge requests found
......@@ -45,6 +45,11 @@ int main(int argc, char** argv) {
#ifdef FC
// Workaround for GFortran
args[i++] = "-fno-range-check";
#if __GNUC__ >= 10
// More workarounds for GFortran 10 increased strickness
args[i++] = "-fallow-invalid-boz";
args[i++] = "-fallow-argument-mismatch";
#endif
#endif
if(!show) for(int x = 1; x < argc; ++x) args[i++] = argv[x];
args[i++] = lpath;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment