DD4hep  1.31.0
Detector Description Toolkit for High Energy Physics
LinkDef.h
Go to the documentation of this file.
1 #ifndef ROOT_LINKDEF_H
2 #define ROOT_LINKDEF_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 //
15 // LinkDef.h
16 //
17 // Created by Pere Mato on 22/1/12.
18 //
19 // Keep this file EMPTY. All CINT statements can be put in header files
20 // preceeding this one.....
21 //
22 //==========================================================================
23 
24 //--------------------------------------------------------------------------
25 // These are the common warnings, which are generated by rootcling
26 // and which cannot be avoided at all. We hence disable them in the
27 // corresponding compilation units to reduce annoying warnings.
28 //
29 // M.Frank
30 //--------------------------------------------------------------------------
31 #if defined(__GNUC__)
32 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33 #pragma GCC diagnostic ignored "-Wdeprecated"
34 #pragma GCC diagnostic ignored "-Wunused"
35 #pragma GCC diagnostic ignored "-Woverlength-strings"
36 
37 #elif defined(__llvm__) || defined(__clang__) || defined(__APPLE__)
38 
39 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
40 #pragma clang diagnostic ignored "-Wdeprecated"
41 #pragma clang diagnostic ignored "-Wunused"
42 #pragma clang diagnostic ignored "-Woverlength-strings"
43 
44 #endif
45 
46 #endif