[Boost-bugs] [Boost C++ Libraries] #13604: Clang warning: Implicit conversion loses integer precision

Subject: [Boost-bugs] [Boost C++ Libraries] #13604: Clang warning: Implicit conversion loses integer precision
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-14 09:42:00


#13604: Clang warning: Implicit conversion loses integer precision
----------------------------------------+----------------------------
 Reporter: Volker Schöch <vschoech@…> | Owner: Barend Gehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: |
----------------------------------------+----------------------------
 I'm using Apple LLVM version 9.0.0 (clang-900.0.39.2)to compile boost
 1.67.0. The following warning (which we declared an error for our project)
 occurs in geometry:

 **boost_1_67_0/boost/geometry/algorithms/detail/expand/point.hpp:73:45:
 Implicit conversion loses integer precision: 'const coordinate_type' (aka
 'const long long') to 'const typename coordinate_type<rect<int> >::type'
 (aka 'const int')**

 Please see related ticket #13597.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13604>
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 : 2018-06-14 09:46:22 UTC