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 » problem with new and delete
Re: problem with new and delete [message #35277 is a reply to message #35274] Sat, 28 January 2012 12:36 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
skingston wrote on Fri, 27 January 2012 20:15

Hi,

I'm new to u++. I seem to be having an issue with new and delete. It appears that u++ tries to define its own definition of these. With MSCV 10 (and MINGW), I am getting compiler errors such as:

function 'void *operator new(size_t)' already has a body


By the look of it I might be able to change the defintions in Defs.h to disable UPP_HEAP. Is there a better solution?



U++ implements its own heap for performance reasons. It should work fine unless your code tries to overload new/delete too.

You can switch this off by adding 'USEMALLOC' into your main package configuration.
 
Read Message
Read Message
Previous Topic: random functions proposal
Next Topic: TextSettings update
Goto Forum:
  


Current Time: Mon Aug 04 11:28:44 CEST 2025

Total time taken to generate the page: 0.13170 seconds