Boost logo

Boost :

Subject: Re: [boost] [wave] preprocessor directives in output
From: Eric Niebler (eniebler_at_[hidden])
Date: 2014-01-22 05:23:24


On 01/21/2014 05:48 PM, Hartmut Kaiser wrote:
> Eric Niebler wrote:
>> This begs the question of which compiler config wave uses. Does
>> it try to emulate a known compiler? If so, which? And what
>> version? It's never occurred to me before to wonder what #defines
>> are set when wave processes #include <boost/config.hpp>.
>
> I predefines only the wave-specific macros
> (http://www.boost.org/doc/libs/1_55_0/libs/wave/doc/predefined_macros.html).
>
>
Everything else has to be supplied by you.

OK. Looking at boost/config/select_compiler_config.hpp, I see that if
no compiler is recognized, none of the BOOST_NO_* macros get defined.
And wave is not a recognized "compiler". That's all I need, and the
code I posted is fine, AFAIK.

Eric


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