Boost logo

Boost :

Subject: Re: [boost] Partial preprocessing for Fusion, et.al. (was: [netlib] Update: 0.9 will not be header-only)
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-12-06 08:26:09


> On Dec 6, 2010, at 7:34 AM, "Hartmut Kaiser" <hartmut.kaiser_at_[hidden]>
> wrote:
>
> > What everybody is looking for is partial preprocessing, i.e. expansion
> > of only some of the macros. Wave does not directly support this (does
> > any
> > preprocessor?)
>
> Isn't that just a matter of injecting #undefs for the other macros?
> Perhaps an easy hack to wave…

That won't do it. You want to properly handle #ifdef's (how do you do that with #undef'ed macros?) to keep platform specific code in place.

Regards Hartmut
---------------
http://boost-spirit.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk