> "/home/sapdb/maxdb-76/sys/wrk/incl/SAPDB/MemoryDebugger/MemDbg > _Header.hp\ > p", line 51: Error: MemDbg_Header::enum is not within the > range of a lon\ > g or unsigned long. [...]
Replace all the expressions in the enum with constants. Then add the original expressions one by one. This way, we can see which expression the compiler doesn't like. FLAG_QUICKCHK is supicious as a 32bit value is shifted 31 bits. And the error line is right after it. Perhaps this works instead: FLAG_QUICKCHK = FLAG_FREECHK << 1 > "MemDbg_Interface.cpp", line 499: Warning: Shift count is too large. > "MemDbg_Interface.cpp", line 637: Warning: Shift count is too large. > "MemDbg_Interface.cpp", line 687: Warning: Shift count is too large. > "MemDbg_Interface.cpp", line 1048: Warning: Shift count is too large. > "MemDbg_Interface.cpp", line 1066: Warning: Shift count is too large. This could be a problem too: #define FENCE_PATTERN (((uint64_t) FENCE_WORD) | (((uint64_t) FENCE_WORD) << 32)) Perhaps the compiler can't shift uint64_t. Maybe you need to define a constant with that bit pattern. Daniel -- Daniel Dittmar SAP Labs Berlin [EMAIL PROTECTED] -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
