|
Boost : |
Subject: Re: [boost] [wave] preprocessor directives in output
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2014-01-21 03:31:17
On 1/20/2014 11:38 PM, Thomas Heller wrote:
> On 01/21/2014 08:17 AM, Fletcher, John P wrote:
>> How about making macros for #if, #else, #endif
>>
>> BOOST_KEEP_UNTIL_WAVE_OUTPUT(if) -> #if
>>
>> Then tell Wave not to translate it and translate it in the output.
>
> the problem is that pp macros can't be expanded to pp directives.
Yes, unless the files get preprocessed *again* which they do in this case.
-Paul
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk