From 573fd035bb6753ee509eb86d6ddbdc575e0d3cbe Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Mon, 27 May 2024 01:05:57 +0200 Subject: [PATCH] Ignore null-termination warning in format strings --- src/make.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/make.inc b/src/make.inc index 6f65edda..57499cbe 100644 --- a/src/make.inc +++ b/src/make.inc @@ -124,7 +124,7 @@ endif # CXXFLAGS defines the default compilation options for the C++ compiler ifndef CXXFLAGS - override CXXFLAGS=-O3 -ggdb -pg -coverage -I$(HDF5_INCLUDE) $(MPI_CXXFLAGS) $(NVTX_CXXFLAGS) + override CXXFLAGS=-O3 -ggdb -pg -coverage -Wno-format-contains-nul -I$(HDF5_INCLUDE) $(MPI_CXXFLAGS) $(NVTX_CXXFLAGS) ifdef USE_OPENMP override CXXFLAGS+= -fopenmp # closes USE_OPENMP -- GitLab