Re: [Boost-bugs] [Boost C++ Libraries] #11756: boost.Test: non standards compliant use of FE_* macros (unable to compile boost test library on FPU-less arches)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11756: boost.Test: non standards compliant use of FE_* macros (unable to compile boost test library on FPU-less arches)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-12 10:14:34


#11756: boost.Test: non standards compliant use of FE_* macros (unable to compile
boost test library on FPU-less arches)
----------------------------------+------------------------
  Reporter: bartosz.krasinski@… | Owner: renficiaud
      Type: Patches | Status: reopened
 Milestone: Boost 1.64.0 | Component: test
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+------------------------

Comment (by renficiaud):

 I also agree that the problem seems to rather be on the side of uLibC
 right now. So what I suggest is to mimic the behavior of [#comment:52] by
 adding this

 {{{
 // ...
   #if !defined(BOOST_NO_FENV_H) && !defined(BOOST_CLANG) && \
       defined(__GLIBC__) && defined(__USE_GNU) && \
       !(defined(__UCLIBC__) || defined(__nios2__) ||
 defined(__microblaze__))
   #define BOOST_TEST_FPE_SUPPORT_WITH_GLIBC_EXTENSIONS__
   #endif
 // ...
 }}}

 like it was done for boost 1.61. This has the advantage to not define
 ```BOOST_NO_FENV_H``` and focus the macro on the glibC extensions
 availability.

 Can you quickly test the branch ```topic/11756-ulibc-disabling``` ?

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11756#comment:58>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-03-12 10:18:18 UTC