Re: [Boost-bugs] [Boost C++ Libraries] #11756: Unable to compile boost test library on openwrt - mips

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11756: Unable to compile boost test library on openwrt - mips
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-13 20:48:42


#11756: Unable to compile boost test library on openwrt - mips
----------------------------------+---------------------
  Reporter: bartosz.krasinski@… | Owner: rogeeff
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+---------------------

Comment (by bartosz.krasinski@…):

 Hi

 here is search result:

 bartek_at_homesrv:~/builds/boost_1_59_0$ grep -rnw . -e "BOOST_NO_FENV_H"
 ./libs/config/test/all/Jamfile.v2:394:test-suite "BOOST_NO_FENV_H" :
 ./libs/config/test/config_info.cpp:1073: PRINT_MACRO(BOOST_NO_FENV_H);
 ./libs/config/test/boost_no_fenv_h.ipp:9:// MACRO:
 BOOST_NO_FENV_H
 ./libs/config/test/no_fenv_h_pass.cpp:9:// Test file for macro
 BOOST_NO_FENV_H
 ./libs/config/test/no_fenv_h_pass.cpp:11:// BOOST_NO_FENV_H should be
 defined.
 ./libs/config/test/no_fenv_h_pass.cpp:23:#ifndef BOOST_NO_FENV_H
 ./libs/config/test/config_test.cpp:380:#ifndef BOOST_NO_FENV_H
 ./libs/config/test/config_test.cpp:1611: std::cerr << "Failed test
 for BOOST_NO_FENV_H at: " << __FILE__ << ":" << __LINE__ << std::endl;
 ./libs/config/test/no_fenv_h_fail.cpp:9:// Test file for macro
 BOOST_NO_FENV_H
 ./libs/config/test/no_fenv_h_fail.cpp:11:// BOOST_NO_FENV_H should not be
 defined.
 ./libs/config/test/no_fenv_h_fail.cpp:23:#ifdef BOOST_NO_FENV_H
 ./libs/config/doc/html/boost_config/boost_macro_reference.html:293:
 <code class="computeroutput"><span
 class="identifier">BOOST_NO_FENV_H</span></code>
 ./libs/config/doc/macro_reference.qbk:74:[[`BOOST_NO_FENV_H`][Platform,
 Standard library][
 ./boost/math/tools/config.hpp:339:#if ((defined(__linux__) &&
 !defined(__UCLIBC__) && !defined(BOOST_MATH_HAVE_FIXED_GLIBC)) ||
 defined(__QNX__) || defined(__IBMCPP__)) && !defined(BOOST_NO_FENV_H)
 ./boost/test/execution_monitor.hpp:63:#if !defined(BOOST_NO_FENV_H)
 ./boost/test/execution_monitor.hpp:489:#elif defined(BOOST_NO_FENV_H) ||
 defined(BOOST_CLANG)
 ./boost/test/impl/execution_monitor.ipp:1382:#elif defined(__GLIBC__) &&
 defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
 ./boost/test/impl/execution_monitor.ipp:1419:#elif defined(__GLIBC__) &&
 defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
 ./boost/detail/fenv.hpp:10:#if defined(BOOST_NO_FENV_H)
 ./boost/config/platform/cygwin.hpp:43:#define BOOST_NO_FENV_H
 ./boost/config/compiler/intel.hpp:497:# define BOOST_NO_FENV_H
 ./boost/config/compiler/visualc.hpp:47:# define BOOST_NO_FENV_H

 when i added mentioned macro: BOOST_NO_FENV_H to the boost/config/user.hpp
 header then i successfully built following libraries (in comparision to
 the previous build - without this macro):

 libbost_unit_test_framework.a
 libbost_test_exec_monitor.a
 libbost_prge_xec_monitor.a

 of course for openwrt-linux-mips platform

 thanks for clue

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11756#comment:4>
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-02-16 18:50:19 UTC