From 55e4b33e1c2e2c5c5a559a109d31500ca91c58c3 Mon Sep 17 00:00:00 2001 From: Tobias Neumann Date: Mon, 25 Mar 2024 08:55:34 -0700 Subject: [PATCH] Add -fallow-argument-mismatch -std=legacy flags for newer compilers (tested with GCC 12.3) --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 3e7727a..b6b5e37 100644 --- a/makefile +++ b/makefile @@ -77,7 +77,7 @@ VPATH = $(DIRS):$(MOD_QCDLOOP):$(INCPATH):$(TENSORREDDIR)/Include:$(SOURCEDIR)/ DEVELOPMENT = -Wall -Wextra -Wno-unused-variable -Wno-compare-reals -Wno-unused-parameter -Wno-unused-dummy-argument -Wno-unused-label -Wuninitialized -Wno-error=conversion -Wno-tabs -O0 # do not use -Ofast with gcc, this enables unsafe math operations (-ffast-math) and will break things! PRODUCTION = -finit-local-zero -O2 -mtune=native -FFLAGS = $(PRODUCTION) -fno-f2c -ffixed-line-length-none -fopenmp \ +FFLAGS = $(PRODUCTION) -fno-f2c -ffixed-line-length-none -fopenmp -fallow-argument-mismatch -std=legacy \ -I$(INCPATH) -I$(MPIDUMMY) -I$(TENSORREDDIR)/Include -L$(PVDIR) -L$(PVEXTDIR) -J$(OBJNAME) -I$(MOD_QCDLOOP)