我们在项目中使用 Boost 1.57。我们现在对使用 GIL 编写图像文件感兴趣。
To在翻译单元中使用 Clang [ Apple LLVM 版本 5.1 (clang-503.0.40) (基于 LLVM 3.4svn) ]#include <boost/gil/gil_all.hpp>
引发以下错误。
boost/gil/channel_algorithm.hpp:54:85:
error: non-type template argument evaluates to -1,
which cannot be narrowed to type 'unsigned long'
有谁知道这个状态?