Author Topic: Memory Leak Checkers for CB/ming gcc on XP; Re-Post to the correct forum now  (Read 3892 times)

Offline staloysius333

  • Multiple posting newcomer
  • *
  • Posts: 23
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
--
Sincerely, Allen (Rurouni Kenshin)
Ps 98:2 The LORD has made known his victory...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."


Offline Charon

  • Multiple posting newcomer
  • *
  • Posts: 49
  • fnord
    • charon - where mental illness meets chronic nonsense
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
hi, i am a signature virus. please copy me into your sig!
Wish list : no root-node for workspaces, open files and symbols; world domination