Subject: [Boost-bugs] [Boost C++ Libraries] #11311: Ambiguous call of std::abs() on QNX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-15 11:57:50
#11311: Ambiguous call of std::abs() on QNX
-------------------------------------+----------------------------
Reporter: awulkiew | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost Development Trunk | Severity: Problem
Keywords: abs |
-------------------------------------+----------------------------
{{{
../boost/multiprecision/cpp_int/divide.hpp: In function 'typename
boost::enable_if_c<((!
boost::multiprecision::backends::is_trivial_cpp_int::value) && (!
boost::multiprecision::backends::is_trivial_cpp_int::value)), void>::type
boost::multiprecision::backends::eval_modulus(boost::multiprecision::backends::cpp_int_backend<MinBits,
MaxBits, SignType, Checked, Allocator>&, const
boost::multiprecision::backends::cpp_int_backend<MinBits2, MaxBits2,
SignType2, Checked2, Allocator2>&,
boost::multiprecision::signed_limb_type)':
../boost/multiprecision/cpp_int/divide.hpp:543: error: call of overloaded
'abs(boost::multiprecision::signed_limb_type&)' is ambiguous
/usr/qnx650/target/qnx6/usr/include/math.h:624: note: candidates are:
double std::abs(double)
/usr/qnx650/target/qnx6/usr/include/math.h:692: note:
float std::abs(float)
/usr/qnx650/target/qnx6/usr/include/math.h:1042: note:
long double std::abs(long double)
/usr/qnx650/target/qnx6/usr/include/stdlib.h:115: note:
int std::abs(int)
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11311> 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:18 UTC