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

Hiroaki TAKADA hiro @ ertl.jp
2014年 4月 25日 (金) 08:41:45 JST


邑中様

最新のcfgでは、該当部分が修正されていますが、最新のcfgでも
エラーになりますか?

高田広章
名古屋大学

(14/04/24 9:57), Masaki Muranaka wrote:
> こんにちは.
> 
> 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;
>                           ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>