Subject: Re: [boost] [predef] Using predef-check on 'develop' problem
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-07-04 00:42:38
On 7/3/2015 12:00 PM, Rene Rivera wrote:
> On Fri, Jul 3, 2015 at 10:55 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>> And the really bad news.. Is that this is something that is not
>> immediately fixable. Further it's something that is really hard to fix as
>> it would involve creating a whole bunch of code for running those tests on
>> the target-os remotely.
> Although I just thought about something.. It might be possible to do
> compile checks in addition to, or instead of, the run style test. Which
> would be easier to deal with. I'll see if I can make that work.. But I
> can't promise anything near term as I'm traveling for a month so will have
> even more limited free time than usual.
Since predef works at compile time would it be possible to figure out
the compiler target OS, as separate from the OS on which the compilation
is occurring, as perhaps BOOST_TARGET_OS_XXX values ? Of course when not
cross-compiling the BOOST_TARGET_OS_ would be the same as the BOOST_OS_.
Just an interesting thought after all.
Enjoy your traveling.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk