From a09531ca13eed58bf6094df95e374fc1f6b7b5b6 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Tue, 20 Jun 2017 11:23:13 +0200 Subject: [PATCH] Fix compiler warnings (shadow and include-hygiene) --- DDCore/include/ROOT/LinkDef.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/DDCore/include/ROOT/LinkDef.h b/DDCore/include/ROOT/LinkDef.h index 81fb5cc5f..ebbf8f5b1 100644 --- a/DDCore/include/ROOT/LinkDef.h +++ b/DDCore/include/ROOT/LinkDef.h @@ -17,6 +17,15 @@ // #ifdef __GNUC__ + +//-------------------------------------------------------------------------- +// These are the common warnings, which are generated by rootcling +// and which cannot be avoided at all. We hence disable them in the +// corresponding compilation units to reduce annoying warnings. +// +// M.Frank +//-------------------------------------------------------------------------- + #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #pragma GCC diagnostic ignored "-Wdeprecated" #pragma GCC diagnostic ignored "-Wunused" -- GitLab