Browse Source

Add -fallow-argument-mismatch -std=legacy flags for newer compilers (tested with GCC 12.3)

master
Tobias Neumann 2 years ago
parent
commit
55e4b33e1c
  1. 2
      makefile

2
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)

Loading…
Cancel
Save