Subject: [Boost-bugs] [Boost C++ Libraries] #8748: Warning: implicit conversion loses integer precision
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-30 12:39:32
#8748: Warning: implicit conversion loses integer precision
-------------------------------------+----------------------------
Reporter: Jan Bouwer <JBouwer@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
Version: Boost Development Trunk | Severity: Problem
Keywords: warning |
-------------------------------------+----------------------------
Trivial - Full error message:
{{{
boost/multiprecision/cpp_int.hpp:1614:23: warning: implicit conversion
loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned
int' [-Wshorten-64-to-32]
unsigned n = result.find_first_not_of('0');
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}}}
produced by clang (Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM
3.2svn)) from svn #84915.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8748> 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:13 UTC