Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Wave crippling
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-06-20 14:38:12


> On 06/20/10 17:21, Hartmut Kaiser wrote:
> > Avoiding macro expansion is easy enough to achieve, but what about
> > #if/#ifdef/...?
> > Do you only want to suppress macro expansion or do you need to inhibit
> > macro definition as well?
>
> macro definition also, in fact everything related to macros. I only want
> the #include directive to function.

What about constructs like:

#ifdef FOO
#include <bar1.hpp>
#else
#include <bar2.hpp>
#endif

?
Regards Hartmut

---------------
Meet me at BoostCon
www.boostcon.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net