From 3bd7d125be1b96feb95f698ca4ab9c121a88675b Mon Sep 17 00:00:00 2001
From: adrien-matta <a.matta@surrey.ac.uk>
Date: Thu, 23 Oct 2014 11:47:59 +0100
Subject: [PATCH] * adding a flag to suppress warning from G4 usage of
 depricated register

---
 NPSimulation/Makefile.geant4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPSimulation/Makefile.geant4 b/NPSimulation/Makefile.geant4
index 962fd4788..d125cf3a5 100644
--- a/NPSimulation/Makefile.geant4
+++ b/NPSimulation/Makefile.geant4
@@ -23,7 +23,7 @@ endif
 G4WORKDIR = ./
 G4BIN = ./bin
 
-CPPFLAGS += $(shell root-config --cflags)
+CPPFLAGS += $(shell root-config --cflags) -Wno-deprecated-register
 CPPFLAGS += -I$(NPTOOL)/NPLib/include
 
 ifeq ($(ARCH),linuxx8664gcc)
-- 
GitLab