[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The templates used to implement AutoOpts depend heavily upon
token pasting. That mens that if you name an option, “debug”, for
example, the generated header will expect to be able to emit
#define
macros such as this:
#define DESC(n) (autogenOptions.pOptDesc[INDEX_OPT_## n]) |
and expect DESC(DEBUG)
to expand correctly into
(autogenOptions.pOptDesc[INDEX_OPT_DEBUG])
.
If DEBUG
is #defined
to something else, then
that something else will be in the above expansion.
If you discover you are having strange problems like this,
you may wish to use some variation of the guard-option-names
See section Program Description Attributes.
This document was generated by Bruce Korb on July 25, 2010 using texi2html 1.82.