[Orxonox-commit 4208] r8879 - code/trunk/src/libraries/util/output

baermatt at orxonox.net baermatt at orxonox.net
Sat Oct 8 12:57:54 CEST 2011


Author: baermatt
Date: 2011-10-08 12:57:54 +0200 (Sat, 08 Oct 2011)
New Revision: 8879

Modified:
   code/trunk/src/libraries/util/output/OutputDefinitions.h
Log:
Added 'ull' to some OutputContextMasks, because of an error with LLVM GCC 4.2 (Integer constant is too large for 'long' type).

Modified: code/trunk/src/libraries/util/output/OutputDefinitions.h
===================================================================
--- code/trunk/src/libraries/util/output/OutputDefinitions.h	2011-10-02 08:05:11 UTC (rev 8878)
+++ code/trunk/src/libraries/util/output/OutputDefinitions.h	2011-10-08 10:57:54 UTC (rev 8879)
@@ -116,8 +116,8 @@
 
     namespace context
     {
-        static const OutputContextMask all       = 0xFFFFFFFFFFFFFFFF; ///< Context mask, all bits set to 1
-        static const OutputContextMask none      = 0x0000000000000000; ///< Context mask, all bits set to 0
+        static const OutputContextMask all       = 0xFFFFFFFFFFFFFFFFull; ///< Context mask, all bits set to 1
+        static const OutputContextMask none      = 0x0000000000000000ull; ///< Context mask, all bits set to 0
 
         static const OutputContextSubID no_subcontext = 0; ///< Used as ID for contexts which are not sub-contexts
 




More information about the Orxonox-commit mailing list