Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

--enable-alloc (CWDEBUG_ALLOC)
Collaboration diagram for --enable-alloc (CWDEBUG_ALLOC):
Description

Turns on debugging for memory (de-)allocation.  This will warn you when you free an invalid block.  It also enables memory leak detection.

When to use it

In general, this should be used as long as you are developing a program, unless you want to do speed tests.

Configure option

This is enabled by default.  Use configure –disable-alloc to disable it.

See Also
Memory Allocation Debug Support
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.