]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing compilation errors.
authorszostak <szostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Oct 2007 10:26:34 +0000 (10:26 +0000)
committerszostak <szostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Oct 2007 10:26:34 +0000 (10:26 +0000)
HLT/MUON/AliHLTMUONUtils.h
HLT/MUON/utils/dHLTdumpraw.cxx
HLT/bindHLTdumpraw.pkg

index 13d631899b265b4f86a47e412932a741c7912de7..275b792e933d759211a5c484667555edd3e62d9c 100644 (file)
@@ -199,7 +199,7 @@ public:
        {
                kNoReason,
                kHeaderContainsWrongType,
-               kHeaderContainsWrongRecordWidth,
+               kHeaderContainsWrongRecordWidth
        };
 
        /**
index e720c87c961be8162d301e276921e1f9a25ee863..58047f7cd84ab2a5da241f95a376c995f9f728e1 100644 (file)
 // We define NDEBUG for the AliHLTMUONDataBlockReader.h header file since this
 // program by definition handles corrupt data. So we do not need the assertions
 // in the AliHLTMUONDataBlockReader class to be checked.
+#ifndef NDEBUG
 #define NDEBUG
+#endif
 #include "AliHLTMUONDataBlockReader.h"
+#if defined(DEBUG) && defined(NDEBUG)
 #undef NDEBUG
+#endif
+
 #include "AliHLTMUONUtils.h"
 
 /*TODO: fix this. Need a platform independant way of checking the endian encoding.
  * This does not want to work on Apple Mac OS compiler: i686-apple-darw
+ * Handle this with #ifdef __APPLE__ ?
 #include <endian.h>
 #ifndef LITTLE_ENDIAN
 #error Handling of internal data for non little endian machines not yet implemented.
index cae972dc840bfd272cbd3a1205281fd17bbe3886..9311acfd1a7910a565ac0f268d6148f427036b7e 100644 (file)
@@ -24,3 +24,9 @@ ELIBS := STEERBase ESD AOD RAWDatabase RAWDatarec RAWDatasim \
        CDB STEER HLTbase MUONevaluation MUONsim MUONrec \
        MUONbase MUONtrigger MUONgeometry MUONraw MUONcalib MUONmapping \
        AliHLTMUON
+
+include $(MODDIR)/hlt.conf
+EDEFINE      := ${HLTDEFS}
+PACKCXXFLAGS := ${HLTCXXFLAGS}
+PACKCFLAGS   := ${HLTCLFAGS}
+PACKDCXXFLAGS:= ${HLTDCXXFLAGS}