*scratch*

It is not a diary the most people have rather a *scratch* Emacs buffer. It keeps notes about everything related to Linux, Open Source, UNIX, MacOSX and software engineering.

Wednesday, February 16, 2005

 

dmalloc patch for C++ "non throw" new()/delete() operators

DMALLOC patch, it helps to replace C++ memory operators

new(std::nothrow)()
new(std::nothrow)()[]
delete(std::nothrow)()
delete(std::nothrow)()[]

It has been tested on AIX with VA C++ 5.0 however it shall be all right on most C++ compilers as well. Just update VACPP depended section according to the compiler/libs implementation. March 2005, GCC 3 had been tested with no problem at all and many other compilers shall work all right.

The patch is here. Compile the source and include object file into libdmalloccxx.a and libdmallocthcxx.a.

Comments: Post a Comment

<< Home

Archives

December 2004   January 2005   February 2005   March 2005   May 2005   July 2005   October 2005   January 2006   March 2006   May 2006   July 2006   December 2006   January 2007   February 2007   May 2007   July 2007   November 2007   January 2008   February 2008   July 2008   August 2008   September 2008   November 2008   April 2009  

This page is powered by Blogger. Isn't yours?