DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
DDCore
include
ROOT
Warnings.h
Go to the documentation of this file.
1
#ifndef ROOT_WARNINGS_H
2
#define ROOT_WARNINGS_H
3
4
//==========================================================================
5
// AIDA Detector description implementation
6
//--------------------------------------------------------------------------
7
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
8
// All rights reserved.
9
//
10
// For the licensing terms see $DD4hepINSTALL/LICENSE.
11
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
12
//
13
//--------------------------------------------------------------------------
14
// These are the common warnings, which are generated by rootcling
15
// and which cannot be avoided at all. We hence disable them in the
16
// corresponding compilation units to reduce annoying warnings.
17
//
18
// M.Frank
19
//==========================================================================
20
21
#if defined(__clang__)
22
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
23
#pragma clang diagnostic ignored "-Wdeprecated"
24
#pragma clang diagnostic ignored "-Wunused"
25
#pragma clang diagnostic ignored "-Woverlength-strings"
26
#elif defined(__GNUC__) || defined(__GNUG__)
27
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
28
#pragma GCC diagnostic ignored "-Wdeprecated"
29
#pragma GCC diagnostic ignored "-Wunused"
30
#pragma GCC diagnostic ignored "-Woverlength-strings"
31
#endif
32
33
34
#if defined(__CINT__) || defined(__MAKECINT__) || defined(__CLANG__) || defined(__ROOTCLING__)
35
#define DD4HEP_DICTIONARY_MODE 1
36
#endif
37
38
#if defined(G__DICTIONARY) && defined(G__ROOT)
39
#define DD4HEP_DICTIONARY_CODE 1
40
#endif
41
42
43
#endif
Generated on Mon Jan 27 2025 16:49:27 for DD4hep by
1.8.18