config (3) - Linux Manuals
config: User configuration
NAME
config - User configuration A number of macros is provided for user configuration. Defining or undefining such macros triggers variations in some library functionality.
Under a Linux/Unix system, they are (un)set by configure; run
./configure --help
Under a Windows system, they must be (un)defined by editing the file <ql/userconfig.hpp> and commenting or uncommenting the relevant lines.
Such macros include:
If defined, function information is added to the error messages thrown by the library. Undefined by default.
If enabled, tracing messages might be emitted by the library depending on run-time settings. Enabling this option can degrade performance. Undefined by default.
#define QL_ERROR_FUNCTIONS
#define QL_ERROR_LINES
#define QL_ENABLE_TRACING
#define QL_NEGATIVE_RATES
#define QL_EXTRA_SAFETY_CHECKS
#define QL_TODAYS_PAYMENTS
#define QL_DISABLE_DEPRECATED
#define QL_USE_INDEXED_COUPON
#define QL_ENABLE_SESSIONS