Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:07

0001 #ifndef ROOT_WARNINGS_H
0002 #define ROOT_WARNINGS_H
0003 
0004 //==========================================================================
0005 //  AIDA Detector description implementation 
0006 //--------------------------------------------------------------------------
0007 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0008 // All rights reserved.
0009 //
0010 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0011 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0012 //
0013 //--------------------------------------------------------------------------
0014 //  These are the common warnings, which are generated by rootcling
0015 //  and which cannot be avoided at all. We hence disable them in the
0016 //  corresponding compilation units to reduce annoying warnings.
0017 //
0018 //  M.Frank
0019 //==========================================================================
0020 
0021 #if defined(__clang__)
0022   #pragma clang diagnostic ignored "-Wdeprecated-declarations"
0023   #pragma clang diagnostic ignored "-Wdeprecated"
0024   #pragma clang diagnostic ignored "-Wunused"
0025   #pragma clang diagnostic ignored "-Woverlength-strings"
0026 #elif defined(__GNUC__) || defined(__GNUG__)
0027   #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
0028   #pragma GCC diagnostic ignored "-Wdeprecated"
0029   #pragma GCC diagnostic ignored "-Wunused"
0030   #pragma GCC diagnostic ignored "-Woverlength-strings"
0031 #endif
0032 
0033 
0034 #if defined(__CINT__) || defined(__MAKECINT__) || defined(__CLANG__) || defined(__ROOTCLING__)
0035 #define  DD4HEP_DICTIONARY_MODE 1
0036 #endif
0037 
0038 #if defined(G__DICTIONARY) && defined(G__ROOT)
0039 #define  DD4HEP_DICTIONARY_CODE 1
0040 #endif
0041 
0042 
0043 #endif