Opened 4 years ago

Closed 3 years ago

#13604 closed Bugs (duplicate)

Clang warning: Implicit conversion loses integer precision

Reported by: Volker Schöch <vschoech@…> Owned by: Barend Gehrels
Milestone: To Be Determined Component: geometry
Version: Boost 1.67.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by Barend Gehrels, 3 years ago

Resolution: duplicate
Status: newclosed

Closing as duplicate, new issue: https://github.com/boostorg/geometry/issues/601

Note: See TracTickets for help on using tickets.