1

我们在项目中使用 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'
  • 同样令人惊讶的是,通过在网络上搜索此错误,它似乎应该在某些版本之前通过票 7970修复。
  • 另外,被指控的定义似乎仍然存在于主人身上。

有谁知道这个状态?

4

0 回答 0