Oldder than MVS version v0.7.3 => JSON Parser: Missing Bind Placeholders.
betachen opened this issue · 1 comments
betachen commented
under MVS v0.7.3 version source code has issue:
compiling error on json_parser 'placeholders::_1' caused by boost issue:/usr/local/include/boost/property_tree/json_parser/detail/parser.hpp:217:52: error: ‘_1’ was not declared in this scope
.
If build with boost 1.59~1.63, will get compiling error on json_parser 'placeholders::_1' caused by boost bug:
/usr/local/include/boost/property_tree/json_parser/detail/parser.hpp:217:52: error: ‘_1’ was not declared in this scope.
Please upgrade to 1.64, or modify parser.hpp
manually at first. Using:
sed -i -e '/#include <boost\/bind.hpp>/a #include <boost\/bind\/placeholders.hpp>' -e 's/boost::ref(callbacks), _1)/boost::ref(callbacks), boost::placeholders::_1)/g' parser.hpp
See boost issue/solution JSON Parser: Missing Bind Placeholders.