[Boost-bugs] [Boost C++ Libraries] #10919: test_cmath_tricky.test:error: 'exp2' is not a member of 'std::tr1'

Subject: [Boost-bugs] [Boost C++ Libraries] #10919: test_cmath_tricky.test:error: 'exp2' is not a member of 'std::tr1'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-08 19:55:57


#10919: test_cmath_tricky.test:error: 'exp2' is not a member of 'std::tr1'
------------------------------+-------------------------
 Reporter: angela.xie@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: TR1
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 Problem:tr1/test_cmath_tricky.test fails to compile with
 "test_cmath_tricky.cpp:68:27: error: 'exp2' is not a member of 'std::tr1'"
 with studio 12.4 and g++-4.8.2 on Solaris 11.2

 Test with Studio 12.4:
 "test_cmath_tricky.cpp", line 68: Error: exp2 is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 69: Error: exp2 is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 70: Error: exp2 is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 71: Error: exp2f is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 72: Error: exp2l is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 78: Error: fdim is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 79: Error: fdim is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 80: Error: fdim is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 81: Error: fdimf is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 82: Error: fdiml is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 83: Error: fma is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 84: Error: fma is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 85: Error: fma is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 86: Error: fmaf is not a member of std::tr1.
 "test_cmath_tricky.cpp", line 87: Error: fmal is not a member of std::tr1.

 "test_cmath_tricky.cpp", line 103: Error: ilogb is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 104: Error: ilogb is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 105: Error: ilogb is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 106: Error: ilogbf is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 107: Error: ilogbl is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 113: Error: llrint is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 114: Error: llrint is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 115: Error: llrint is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 116: Error: llrintf is not a member of
 std::tr1.
 "test_cmath_tricky.cpp", line 117: Error: llrintl is not a member of
 std::tr1.

 Test with g++-4.8.2
 test_cmath_tricky.cpp: In function 'int main(int, const char**)':
 test_cmath_tricky.cpp:68:27: error: 'exp2' is not a member of 'std::tr1'
        verify_return_type((std::tr1::exp2)(d), d);
                            ^
 test_cmath_tricky.cpp:68:27: note: suggested alternative:
 In file included from /usr/include/math.h:13:0,
                  from ../../../boost/math/tr1.hpp:14,
                  from ../../../boost/tr1/cmath.hpp:21,
                  from test_cmath_tricky.cpp:13:
 /usr/include/iso/math_c99.h:215:15: note: 'exp2'
  extern double exp2 __P((double));
                ^
 test_cmath_tricky.cpp:69:27: error: 'exp2' is not a member of 'std::tr1'
        verify_return_type((std::tr1::exp2)(f), f);
                            ^
 test_cmath_tricky.cpp:69:27: note: suggested alternative:
 In file included from /usr/include/math.h:13:0,
                  from ../../../boost/math/tr1.hpp:14,
                  from ../../../boost/tr1/cmath.hpp:21,
                  from test_cmath_tricky.cpp:13:
 ...
 test_cmath_tricky.cpp:71:27: error: 'exp2f' is not a member of 'std::tr1'
        verify_return_type((std::tr1::exp2f)(f), f);
                            ^
 test_cmath_tricky.cpp:71:27: note: suggested alternative:
 In file included from /usr/include/math.h:13:0,
                  from ../../../boost/math/tr1.hpp:14,
                  from ../../../boost/tr1/cmath.hpp:21,
                  from test_cmath_tricky.cpp:13:
 /usr/include/iso/math_c99.h:269:14: note: 'exp2f'
  extern float exp2f __P((float));
               ^
 test_cmath_tricky.cpp:72:27: error: 'exp2l' is not a member of 'std::tr1'
        verify_return_type((std::tr1::exp2l)(ld), ld);
 ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10919>
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:17 UTC