Boost logo

Boost :

Subject: Re: [boost] [predef] The predef-check functionality is not working on the Android regression tests
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-07-13 07:43:18


On Mon, Jul 13, 2015 at 4:35 AM, Dmitry Moskalchuk <dm_at_[hidden]> wrote:

> On 13/07/15 06:00, Edward Diener wrote:
> > In all other environments predef-check is working. Maybe this failure
> > of predef-check somehow occurs because the Android tests are a
> > cross-compile, being done on a Unix system but targeting the Android.
> > But for whatever reason the inability of getting predef-check to work
> > keeps my VMD tests from adding the '-std=c++0x' option and the VMD
> > tests all fail without that option since the variadic macro support in
> > VMD for gcc needs C++11 support or better.
>
> Edward,
>
> As Rene said earlier, this is bug related to cross-compiling nature of
> Android targets.
>
> As a temporary workaround for this, I can modify our testing scripts to
> enforce passing "-std=c++0x" when building VMD tests. This is not good
> solution and clearly should not stay there for long time, but I can do
> it if for some reason you can't wait when it will be fixed in proper
> way. Just let me know.
>

Edward could also just add <target-os>android:<cxxflags>-std=c++0x to the
tests (or something equivalent).

-- 
-- 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