What am I missing here? 2 compile errors after following instructions.
json/json_spirit_ubjson.cpp:358:39: error: conversion from 'size_type' (aka 'unsigned long') to 'const json_spirit::Value_impl<json_spirit::Config_vector<std::__1::basic_string<char> > >' is
ambiguous
value=array_value.size();
~~~~~~~~~~~~^~~~~~
./json/json_spirit_value.h:46:9: note: candidate constructor
Value_impl( bool value );
^
./json/json_spirit_value.h:47:9: note: candidate constructor
Value_impl( int value );
^
./json/json_spirit_value.h:48:9: note: candidate constructor
Value_impl( int64_t value );
^
./json/json_spirit_value.h:49:9: note: candidate constructor
Value_impl( uint64_t value );
^
./json/json_spirit_value.h:50:9: note: candidate constructor
Value_impl( double value );
^
json/json_spirit_ubjson.cpp:446:37: error: conversion from 'size_type' (aka 'unsigned long') to 'const json_spirit::Value_impl<json_spirit::Config_vector<std::__1::basic_string<char> > >' is
ambiguous
value=obj_value.size();
~~~~~~~~~~^~~~~~
./json/json_spirit_value.h:46:9: note: candidate constructor
Value_impl( bool value );
^
./json/json_spirit_value.h:47:9: note: candidate constructor
Value_impl( int value );
^
./json/json_spirit_value.h:48:9: note: candidate constructor
Value_impl( int64_t value );
^
./json/json_spirit_value.h:49:9: note: candidate constructor
Value_impl( uint64_t value );
^
./json/json_spirit_value.h:50:9: note: candidate constructor
Value_impl( double value );
^
1 warning and 2 errors generated.
make[1]: *** [json/libbitcoin_server_a-json_spirit_ubjson.o] Error 1
make: *** [all-recursive] Error 1