]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/CALO/AliHLTCaloChannelRawDataStruct.h
Update master to aliroot
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloChannelRawDataStruct.h
index 96758bc322f07fab54ba0891283e8df32da07922..ff23dff7d9f8800d93465cf0e6f89471ced3746b 100644 (file)
 #include "AliHLTCaloChannelDataStruct.h"
 #include "AliHLTCaloCoordinate.h"
 #include "Rtypes.h"
-#include "AliHLTCaloConstant.h"
+
+// disable warnings to avoid
+// warning: base class ‘class ...’ has a non-virtual destructor
+#if defined __GNUC__
+#if __GNUC__ == 4 && __GNUC_MINOR__ > 3
+#pragma GCC diagnostic ignored "-Weffc++"
+#else
+#pragma GCC system_header 
+#endif
+#elif defined __SUNPRO_CC
+#pragma disable_warn
+#elif defined _MSC_VER
+#pragma warning(push, 1)
+#endif
 
 ///comment
 
-using namespace CaloHLTConst;
+// using namespace CaloHLTConst;
 
 struct  AliHLTCaloChannelRawDataStruct : public AliHLTCaloChannelDataStruct
 {
@@ -36,4 +49,14 @@ struct  AliHLTCaloChannelRawDataStruct : public AliHLTCaloChannelDataStruct
   UShort_t fData;
 };
 
+#if defined __GNUC__
+#if __GNUC__ == 4 && __GNUC_MINOR__ > 3
+#pragma GCC diagnostic ignored "-Weffc++"
+#endif
+#elif defined __SUNPRO_CC
+#pragma enable_warn
+#elif defined _MSC_VER
+#pragma warning(pop)
+#endif
+
 #endif