Opened 12 years ago

Closed 12 years ago

#5054 closed Feature Requests (fixed)

fenv fix in trunk but not yet in release?

Reported by: Peter Schueller <schueller.p@…> Owned by: Bryce Adelstein Lelbach
Milestone: Boost 1.46.0 Component: math
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

Would it be possible to merge the clang build fixes [66693] [66458] related to fenv.h from trunk into the release branch?

Change History (3)

comment:1 by Peter Schueller <schueller.p@…>, 12 years ago

btw the following currently fails to build with clang in boost release branch:

#include <boost/spirit/include/qi.hpp>

int main(int,char**)
{
return 0;
}

Error:

ps@gluck:~$ PATH=/var/lib/buildbot/instdirs//clang-trunk/bin//usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin clang++ -I/var/lib/buildbot/instdirs/boost-release/include/boost-1_46 test.cpp
In file included from test.cpp:1:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/include/qi.hpp:16:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/home/qi.hpp:21:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/home/qi/numeric.hpp:17:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/home/qi/numeric/real.hpp:17:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/home/qi/numeric/detail/real_impl.hpp:22:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/spirit/home/support/detail/sign.hpp:22:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/math/special_functions/fpclassify.hpp:19:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/math/special_functions/math_fwd.hpp:27:
In file included from /var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/math/tools/promotion.hpp:26:
/var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/math/tools/config.hpp:277:7: error: unknown type name 'fexcept_t'
      fexcept_t m_flags;
      ^
/var/lib/buildbot/instdirs/boost-release/include/boost-1_46/boost/math/tools/config.hpp:270:24: error: use of undeclared identifier
      'FE_ALL_EXCEPT'
         feclearexcept(FE_ALL_EXCEPT);
                       ^
2 errors generated.

comment:2 by Bryce Adelstein Lelbach, 12 years ago

I just need to check with John Maddock about this first, as the changes involve some additions to Boost.Config and the change of some includes in Boost.Math.

comment:3 by Peter Schüller <schueller.p@…>, 12 years ago

Milestone: To Be DeterminedBoost 1.46.0
Resolution: fixed
Status: newclosed

Thanks a lot, now fenv.h exists in release branch and now it works for me!

Note: See TracTickets for help on using tickets.