Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: staloysius333 on October 17, 2005, 10:56:29 pm

Title: Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now
Post by: staloysius333 on October 17, 2005, 10:56:29 pm
Sorry about folks.  I posed this message to the wrong forum & it's a re-post here.  Hope it doesn't cause a problem.

I need a memory leak checker for CB on XP using the mingw32 (gcc) compiler.  Does anyone know of one?

Thanks!

--Allen
Title: Re: Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now
Post by: thomas on October 17, 2005, 11:21:41 pm
Most garbage collectors and custom allocators can be configured to check for memory leaks, and I think there is something built into wxWindows, too, never used that though.
Title: Re: Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now
Post by: Michael on November 01, 2005, 11:28:56 am
Hello,

May be this can help:

http://www.flipcode.com/articles/article_memoryleaks.shtml
http://www.embedded.com/story/OEG20020321S0021
http://wyw.dcweb.cn/leakage.htm (from http://www.mingw.org/MinGWiki/index.php/FAQ)
http://www.wxwidgets.org/manuals/2.6.2/wx_debuggingoverview.html#debuggingoverview
http://www.codeproject.com/cpp/MemoryHooks.asp
http://www.codeproject.com/tools/leakfinder.asp
(other links in CodeProject can be found by searching for "Memory leaks")

Best wishes,
Michael
Title: Re: Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now
Post by: Charon on November 01, 2005, 01:26:06 pm
Hi

you can get a really nice one here :
http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=64744

just add it to your program, read the readme.txt and voila!
if i remember right the only thing you need to change in your code is the order of includes.

good luck
Markus