[Boost-bugs] [Boost C++ Libraries] #7270: C++11 narrowing problem in gil

Subject: [Boost-bugs] [Boost C++ Libraries] #7270: C++11 narrowing problem in gil
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-23 22:11:25


#7270: C++11 narrowing problem in gil
------------------------------+---------------------------------------------
 Reporter: jbosch | Owner: hljin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: GIL
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: c++11 |
------------------------------+---------------------------------------------
 Compiling against Boost.Gil on Clang with C++11 extensions enabled, I get
 an error about narrowing in channel_algorithms.hpp. The attached patch
 fixes the problem and works fine with C++03 as well.

 The clang version is compiled from svn, running on Ubuntu 10.04:
 clang version 3.2 (trunk 162287)
 Target: x86_64-unknown-linux-gnu
 Thread model: posix

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7270>
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:10 UTC