Re: Electric Fence and C++

From: George Greer (greerga@circlemud.org)
Date: 01/25/01


On Thu, 25 Jan 2001, Zeavon wrote:

>Does anyone know if Electric Fence works with C++ using new/delete instead
>of malloc/free ?
>
>After converting our mud to C++, we're expecing a few more mem leaks to
>close up and would like to use it to track them down.
>
>If it doesn't work, does anyone know of a product that works with g++
>2.91.66 ?

ISTR that new/delete use malloc/free for g++ and glibc.  As such you'll
find Electric Fence working.  It's not meant to find memory leaks though.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST