Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » MemoryBreakpoint definition?
MemoryBreakpoint definition? [message #16276] Thu, 05 June 2008 17:14 Go to previous message
cdoty is currently offline  cdoty
Messages: 23
Registered: April 2008
Location: Houston, TX
Promising Member

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

 
Read Message
Read Message
Read Message
Previous Topic: how can i use iterators with NTL?
Next Topic: A way to change what represents
Goto Forum:
  


Current Time: Sun Jun 15 13:37:11 CEST 2025

Total time taken to generate the page: 0.04248 seconds