I'm targeting an embedded Arm7 architecture. I've overridden single obj, array and placement new and delete. My problem is that the override delete is not called for a class obj when the obj is deleted (neither is the obj's destructor.) However, if I declare the class destructor as virtual, then the delete behavior works correctly. new and delete for integral types as well as dew/delete for arrays for objects with non-virtual destructors both work fine.
I won't post the override code here yet since it works for all other instances except one. Anyone know what could cause this kind of behavior? Thanks. -- View this message in context: http://www.nabble.com/overloaded-operator-new-and-delete-tp19830255p19830255.html Sent from the gcc - bugs mailing list archive at Nabble.com.