Subject: [Boost-bugs] [Boost C++ Libraries] #13397: Supplies non-type argument to mpl::integral_c and breaks in gil/channel_algorithm.hpp:54
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-14 18:40:15
#13397: Supplies non-type argument to mpl::integral_c and breaks in
gil/channel_algorithm.hpp:54
------------------------------+---------------------
Reporter: anonymous | Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.65.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
{{{
--- k3dsdk/CMakeFiles/k3dsdk.dir/utility_gl.cpp.o ---
In file included from /usr/ports/graphics/k3d/work/k3d-
7111d0e/k3dsdk/utility_gl.cpp:37:
In file included from /usr/ports/graphics/k3d/work/k3d-
7111d0e/k3dsdk/utility_gl.h:28:
In file included from /usr/ports/graphics/k3d/work/k3d-
7111d0e/k3dsdk/bitmap.h:36:
In file included from /usr/local/include/boost/gil/gil_all.hpp:26:
/usr/local/include/boost/gil/channel_algorithm.hpp:54:85: error: non-type
template argument evaluates to -1, which cannot be narrowed to type
'unsigned long' [-Wc++11-narrowing]
struct unsigned_integral_max_value : public
mpl::integral_c<UnsignedIntegralChannel,-1> {};
^
/usr/local/include/boost/gil/channel_algorithm.hpp:204:19: note: in
instantiation of template class
'boost::gil::detail::unsigned_integral_max_value<unsigned long>' requested
here
if (src > unsigned_integral_max_value<uintmax_t>::value - div2)
^
}}}
boost-libs-1.65.1_1 on FreeBSD 11.1
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13397> 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-01-14 18:45:42 UTC