1 | kyles-work-imac:boost_libc++ kmtarplee$ ./build.sh
|
---|
2 | In file included from source.cpp:2:
|
---|
3 | In file included from /opt/local/include/boost/property_tree/json_parser.hpp:14:
|
---|
4 | /opt/local/include/boost/property_tree/detail/json_parser_read.hpp:105:43: error: no viable conversion from 'pair<std::__1::basic_string<char>, std::__1::basic_string<char> >' to 'const value_type'
|
---|
5 | (aka 'const pair<const std::__1::basic_string<char>, self_type>')
|
---|
6 | c.stack.back()->push_back(std::make_pair(c.name, Str(b, e)));
|
---|
7 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
8 | /opt/local/include/boost/spirit/home/classic/core/scanner/scanner.hpp:148:13: note: in instantiation of member function 'boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>,
|
---|
9 | std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >::a_literal_val::operator()' requested here
|
---|
10 | actor(first, last);
|
---|
11 | ^
|
---|
12 | /opt/local/include/boost/spirit/home/classic/core/scanner/scanner.hpp:163:46: note: in instantiation of function template specialization
|
---|
13 | 'boost::spirit::classic::attributed_action_policy<boost::spirit::classic::nil_t>::call<boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>,
|
---|
14 | std::__1::less<std::__1::basic_string<char> > > >::a_literal_val, std::__1::__wrap_iter<char *> >' requested here
|
---|
15 | attributed_action_policy<AttrT>::call(actor, val, first, last);
|
---|
16 | ^
|
---|
17 | /opt/local/include/boost/spirit/home/classic/core/composite/actions.hpp:116:22: note: in instantiation of function template specialization
|
---|
18 | 'boost::spirit::classic::action_policy::do_action<boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>,
|
---|
19 | std::__1::less<std::__1::basic_string<char> > > >::a_literal_val, boost::spirit::classic::nil_t, std::__1::__wrap_iter<char *> >' requested here
|
---|
20 | scan.do_action(actor, val, save, scan.first);
|
---|
21 | ^
|
---|
22 | /opt/local/include/boost/spirit/home/classic/core/composite/alternative.hpp:71:34: note: in instantiation of function template specialization
|
---|
23 | 'boost::spirit::classic::action<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::rule<boost::spirit::classic::scanner<std::__1::__wrap_iter<char
|
---|
24 | *>, boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
25 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
26 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
27 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
28 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
29 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> >, boost::spirit::classic::nil_t, boost::spirit::classic::nil_t>, boost::spirit::classic::strlit<const char *> >,
|
---|
30 | boost::spirit::classic::strlit<const char *> >, boost::spirit::classic::strlit<const char *> >, boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>,
|
---|
31 | std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >::a_literal_val>::parse<boost::spirit::classic::scanner<std::__1::__wrap_iter<char *>,
|
---|
32 | boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
33 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
34 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
35 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
36 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
37 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> > >' requested here
|
---|
38 | return this->right().parse(scan);
|
---|
39 | ^
|
---|
40 | /opt/local/include/boost/spirit/home/classic/core/composite/alternative.hpp:67:49: note: in instantiation of function template specialization
|
---|
41 | 'boost::spirit::classic::alternative<boost::spirit::classic::action<boost::spirit::classic::rule<boost::spirit::classic::scanner<std::__1::__wrap_iter<char *>,
|
---|
42 | boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
43 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
44 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
45 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
46 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
47 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> >, boost::spirit::classic::nil_t, boost::spirit::classic::nil_t>,
|
---|
48 | boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >::a_string_val>,
|
---|
49 | boost::spirit::classic::action<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::rule<boost::spirit::classic::scanner<std::__1::__wrap_iter<char
|
---|
50 | *>, boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
51 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
52 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
53 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
54 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
55 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> >, boost::spirit::classic::nil_t, boost::spirit::classic::nil_t>, boost::spirit::classic::strlit<const char *> >,
|
---|
56 | boost::spirit::classic::strlit<const char *> >, boost::spirit::classic::strlit<const char *> >, boost::property_tree::json_parser::context<boost::property_tree::basic_ptree<std::__1::basic_string<char>,
|
---|
57 | std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >::a_literal_val> >::parse<boost::spirit::classic::scanner<std::__1::__wrap_iter<char *>,
|
---|
58 | boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
59 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
60 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
61 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
62 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
63 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> > >' requested here
|
---|
64 | if (result_t hit = this->left().parse(scan))
|
---|
65 | ^
|
---|
66 | /opt/local/include/boost/spirit/home/classic/core/composite/alternative.hpp:67:49: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
|
---|
67 | /opt/local/include/boost/spirit/home/classic/core/scanner/impl/skipper.ipp:109:38: note: in instantiation of function template specialization
|
---|
68 | 'boost::spirit::classic::grammar<boost::property_tree::json_parser::json_grammar<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > >
|
---|
69 | >, boost::spirit::classic::parser_context<boost::spirit::classic::nil_t> >::parse<boost::spirit::classic::scanner<std::__1::__wrap_iter<char *>,
|
---|
70 | boost::spirit::classic::scanner_policies<boost::spirit::classic::skip_parser_iteration_policy<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
71 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
72 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
73 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
74 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::iteration_policy>,
|
---|
75 | boost::spirit::classic::match_policy, boost::spirit::classic::action_policy> > >' requested here
|
---|
76 | match<nil_t> hit = p.parse(scan);
|
---|
77 | ^
|
---|
78 | /opt/local/include/boost/spirit/home/classic/core/scanner/impl/skipper.ipp:154:16: note: in instantiation of function template specialization
|
---|
79 | 'boost::spirit::classic::impl::phrase_parser<boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser,
|
---|
80 | boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
81 | boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
82 | boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>, boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>,
|
---|
83 | boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> > >::parse<std::__1::__wrap_iter<char *>,
|
---|
84 | boost::property_tree::json_parser::json_grammar<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > > >' requested here
|
---|
85 | return impl::phrase_parser<SkipT>::
|
---|
86 | ^
|
---|
87 | /opt/local/include/boost/property_tree/detail/json_parser_read.hpp:314:33: note: in instantiation of function template specialization 'boost::spirit::classic::parse<std::__1::__wrap_iter<char *>,
|
---|
88 | boost::property_tree::json_parser::json_grammar<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >,
|
---|
89 | boost::spirit::classic::alternative<boost::spirit::classic::alternative<boost::spirit::classic::space_parser, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>,
|
---|
90 | boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>, boost::spirit::classic::alternative<boost::spirit::classic::eol_parser, boost::spirit::classic::end_parser>,
|
---|
91 | boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested, boost::spirit::classic::is_lexeme> >, boost::spirit::classic::confix_parser<boost::spirit::classic::strlit<const char *>,
|
---|
92 | boost::spirit::classic::kleene_star<boost::spirit::classic::anychar_parser>, boost::spirit::classic::strlit<const char *>, boost::spirit::classic::unary_parser_category, boost::spirit::classic::non_nested,
|
---|
93 | boost::spirit::classic::is_lexeme> > >' requested here
|
---|
94 | parse_info<It> pi = parse(v.begin(), v.end(), g,
|
---|
95 | ^
|
---|
96 | /opt/local/include/boost/property_tree/json_parser.hpp:45:9: note: in instantiation of function template specialization
|
---|
97 | 'boost::property_tree::json_parser::read_json_internal<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > >' requested here
|
---|
98 | read_json_internal(stream, pt, std::string());
|
---|
99 | ^
|
---|
100 | source.cpp:7:5: note: in instantiation of function template specialization 'boost::property_tree::json_parser::read_json<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>,
|
---|
101 | std::__1::less<std::__1::basic_string<char> > > >' requested here
|
---|
102 | boost::property_tree::read_json(std::cin, pt);
|
---|
103 | ^
|
---|
104 | /usr/include/c++/v1/utility:200:24: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'pair<std::__1::basic_string<char>, std::__1::basic_string<char> >' to 'const
|
---|
105 | std::__1::pair<const std::__1::basic_string<char>, boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> > > > &' for 1st argument;
|
---|
106 | struct _LIBCPP_VISIBLE pair
|
---|
107 | ^
|
---|
108 | /usr/include/c++/v1/utility:215:9: note: candidate template ignored: substitution failure [with _U1 = std::__1::basic_string<char>, _U2 = std::__1::basic_string<char>]
|
---|
109 | pair(const pair<_U1, _U2>& __p,
|
---|
110 | ^
|
---|
111 | /opt/local/include/boost/property_tree/ptree.hpp:154:46: note: passing argument to parameter 'value' here
|
---|
112 | iterator push_back(const value_type &value);
|
---|
113 | ^
|
---|
114 | 1 error generated.
|
---|