On Mon, 2016-02-01 at 05:08 +0000, Khem Raj wrote:
> +     BOOST_FPE_ALL       = MCW_EM,
> +-#elif defined(BOOST_NO_FENV_H) || defined(BOOST_CLANG)
> ++#elif defined(BOOST_NO_FENV_H) || defined(BOOST_CLANG) \
> ++    || defined(__ARM_PCS)
> +     BOOST_FPE_ALL       = 1,

This looks a bit bogus.  Whether or not a particular fesetenv() flag is
available is, or should be, orthogonal to the question of whether you
are using the soft-float or hard-float ABI.  I think it might be true
that some libraries don't implement fesetenv() when using softfp (i.e.
no VFP instructions at all) but that is not necessarily the same thing
as the soft float ABI.  What was the exact situation where you had a
problem with this?

Anyway, if what you want to test is the availability of FE_DIVBYZERO,
you can just use "#ifdef FE_DIVBYZERO" since FE_* are required to be
macros.

p.


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to