(toppers-users 4227) OSXでcfg 1.5.0 のビルドエラー

Masaki Muranaka monamour @ monaka.org
2014年 4月 24日 (木) 09:57:34 JST


こんにちは.

SSPカーネルをビルドしたいと思い,cfg-1.5.0.tar.gz を
ダウンロードしOSX上でのビルドを試みたところ,
下記のようなエラーが出ました.
64ビットアーキテクチャでcfgが正常動作しない件と
何らか関連するかもしれないと思い,情報共有しておきます.

▼
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
▲

▼
In file included from cfg2.cpp:42:
In file included from ./cfg.hpp:55:
../toppers/itronx/static_api.hpp:205:54: error: no viable conversion from
      'optional<std::tr1::intmax_t>' to 'optional<std::tr1::int64_t>'
  ...std::tr1::int64_t > id_value = iter->at( info->id_pos ).value;
                         ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
▲