From a0aba9eee296488ab6f989bda6f9b4470db34674 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Wed, 21 May 2025 21:44:13 +0200 Subject: [PATCH 1/2] Add -fallow-argument-mismatch to linuxGNUsgl target Closes #2, #4, #9, and #10 --- build/makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/makefile.common b/build/makefile.common index ed6c0cf..1be3a4e 100644 --- a/build/makefile.common +++ b/build/makefile.common @@ -212,7 +212,7 @@ linuxGNUdbl: linuxGNUsgl: ${MAKE} -f ${MAKEFILE} all P_TYPE=sgl FC_TYPE=gnu PLTFRM=linux \ FC=gfortran \ - FCFLAG="-Wall -frecord-marker=4" \ + FCFLAG="-Wall -frecord-marker=4 -fallow-argument-mismatch" \ UTIL_FILE=util_gfortran.f90 ############################################################## From 86dc74d57ca86f5f99acd86d2e18426fa7370a7f Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Wed, 21 May 2025 22:27:24 +0200 Subject: [PATCH 2/2] Use -std=legacy instead of -fallow-argument-mismatch --- build/makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/makefile.common b/build/makefile.common index 1be3a4e..3bc92f7 100644 --- a/build/makefile.common +++ b/build/makefile.common @@ -212,7 +212,7 @@ linuxGNUdbl: linuxGNUsgl: ${MAKE} -f ${MAKEFILE} all P_TYPE=sgl FC_TYPE=gnu PLTFRM=linux \ FC=gfortran \ - FCFLAG="-Wall -frecord-marker=4 -fallow-argument-mismatch" \ + FCFLAG="-Wall -frecord-marker=4 -std=legacy" \ UTIL_FILE=util_gfortran.f90 ##############################################################