Subject: Re: [boost] [predef] Using predef-check on 'develop' problem
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-07-03 11:55:55
After some investigation...
On Thu, Jul 2, 2015 at 11:07 PM, Edward Diener <eldiener_at_[hidden]>
> Closer but not quite there.
> The predef-check is now working with Windows msvc-14.0 and with the SunOS
> tests but there is still a problem with Android.
Technically it's working on all ;-)
> The problem occurs in the VMD tests but can be illustrated by predef tests
> also. Look at the "CrystaX.NET-apilevel-21-x86" predef tests, which have
> your latest June 29 commit you mention just above. If you look at the
> "clang-linux-3.6" tests you will see that the "info_as_cpp" test shows
> everything correctly but the "check_value" test shows "CHECK_VALUE ==
> undefined" where it should be "CHECK_VALUE == 1".
> Similarly my corresponding VMD Android tests, which relies on predef-check
> to pass "-std=c++0x" for the gcc tests, are not doing so there.
> So there is still a problem with Android although Sun-OS and VC++14 tests
> are working fine now with predef-check.
Some good news and bad news.. I know what the last problem is now. It's
because Android is a cross-compiler, it build on Linux but targets Android
in this case. The good news is that the BB check builds and runs fine, on
the host-os Linux build machine. The bad news is that the result of running
that on the host-os machine is useless for making a determination of the
target-os build for the libraries.
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
Hence, my suggestion would be to change your build file to also check the
"target-os" build property. You might want to bring this up, how to check
the target-os in your use case, on another thread and perhaps on the Boost
Build list (so that it gets more immediate attention).
> As always I appreciate your efforts to get this working, especially on OSs
> like SunOS and Android rather than the usual Windows, Linux, Macintosh
Thanks.. I appreciate the gratitude. As it's some times hard to tell if
people actually care :-)
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk