Home » U++ Library support » U++ Core » MemoryBreakpoint definition?
MemoryBreakpoint definition? [message #16276] |
Thu, 05 June 2008 17:14  |
|
I've successfully extracted the Vector class from Ultimate++, but ran into a problem in App.cpp. As of revision 279, MemoryBreakpoint is only defined (in heapdbg.cpp) if HEAPDBG and UPP_HEAP are defined. But, in App.cpp, MemoryBreakpoint is used if UPP_HEAD and _DEBUG are defined.
Of course, changing:
#if defined(_DEBUG) && defined(UPP_HEAP)
to:
#if defined(_DEBUG) && defined(HEAPDBG) && defined(UPP_HEAP)
fixes the problem.
Is HEAPDBG automatically set on DEBUG builds?
a3e77f341aa1d91d0388a0c8b786e8b5
[Updated on: Thu, 05 June 2008 17:15] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jun 15 13:37:11 CEST 2025
Total time taken to generate the page: 0.04248 seconds
|