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

Modules
Configuration Options And Macros
Configuration, Installation And Getting Started
Collaboration diagram for Configuration Options And Macros:

Modules

 
 
 
 
 
 
 
 
 

Detailed Description

Libcwd uses autoconf; configuration is done with the usual configure script.  You can list all options of configure by issuing configure –help .

This section describes the configure options specific to libcwd.  The name of the macros that are related to the respective features are given between parenthesis after the option.  You can not define these macros yourself, you may only use them in an #if ... #endif test.  The macros are always defined; when a configure option was used then the macro is defined to 1, otherwise it is defined to 0.  This makes it possible for the compiler to warn you when you made a typo in the name of a macro.

Example:

// Use '#if' not '#ifdef'.
#if CWDEBUG_ALLOC
Dout(dc::malloc, malloc_report << '.');
#endif
Copyright © 2001 - 2004 Carlo Wood. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /