Ticket #12352: boost_factory_bug_comp_error.txt

File boost_factory_bug_comp_error.txt, 17.3 KB (added by Matthew Hoops <matthewthoops@…>, 6 years ago)

g++ error output

Line 
1In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
2 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
3 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
4 from /home/clone2727/boost-git/boost/function.hpp:64,
5 from boost_factory_bug.cpp:1:
6/home/clone2727/boost-git/boost/function/function_template.hpp: In instantiation of ‘static R boost::detail::function::function_obj_invoker1<FunctionObj, R, T0>::invoke(boost::detail::function::function_buffer&, T0) [with FunctionObj = boost::factory<TestClass*>; R = TestClass*; T0 = int]’:
7/home/clone2727/boost-git/boost/function/function_template.hpp:936:38: required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::factory<TestClass*>; R = TestClass*; T0 = int]’
8/home/clone2727/boost-git/boost/function/function_template.hpp:727:7: required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::factory<TestClass*>; R = TestClass*; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’
9/home/clone2727/boost-git/boost/function/function_template.hpp:1072:16: required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::factory<TestClass*>; R = TestClass*; T0 = int; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’
10boost_factory_bug.cpp:10:82: required from here
11/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: error: no match for call to ‘(boost::factory<TestClass*>) (int)’
12 return (*f)(BOOST_FUNCTION_ARGS);
13 ^
14In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:47:0,
15 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
16 from boost_factory_bug.cpp:2:
17/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()() const [with Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u; boost::factory<Pointer, void, AP>::result_type = TestClass*]
18 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
19 ^
20/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate expects 0 arguments, 1 provided
21In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52:0,
22 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
23 from boost_factory_bug.cpp:2:
24/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&) const [with T0 = int; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u; boost::factory<Pointer, void, AP>::result_type = TestClass*] <near match>
25 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
26 ^
27/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: conversion of argument 1 would be ill-formed:
28In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
29 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
30 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
31 from /home/clone2727/boost-git/boost/function.hpp:64,
32 from boost_factory_bug.cpp:1:
33/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: error: invalid initialization of non-const reference of type ‘int&’ from an rvalue of type ‘int’
34 return (*f)(BOOST_FUNCTION_ARGS);
35 ^
36In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:57:0,
37 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
38 from boost_factory_bug.cpp:2:
39/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&) const [with T0 = T0; T1 = T1; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
40 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
41 ^
42/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
43In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
44 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
45 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
46 from /home/clone2727/boost-git/boost/function.hpp:64,
47 from boost_factory_bug.cpp:1:
48/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 2 arguments, 1 provided
49 return (*f)(BOOST_FUNCTION_ARGS);
50 ^
51In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:62:0,
52 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
53 from boost_factory_bug.cpp:2:
54/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&) const [with T0 = T0; T1 = T1; T2 = T2; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
55 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
56 ^
57/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
58In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
59 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
60 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
61 from /home/clone2727/boost-git/boost/function.hpp:64,
62 from boost_factory_bug.cpp:1:
63/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 3 arguments, 1 provided
64 return (*f)(BOOST_FUNCTION_ARGS);
65 ^
66In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:67:0,
67 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
68 from boost_factory_bug.cpp:2:
69/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
70 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
71 ^
72/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
73In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
74 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
75 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
76 from /home/clone2727/boost-git/boost/function.hpp:64,
77 from boost_factory_bug.cpp:1:
78/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 4 arguments, 1 provided
79 return (*f)(BOOST_FUNCTION_ARGS);
80 ^
81In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:72:0,
82 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
83 from boost_factory_bug.cpp:2:
84/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
85 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
86 ^
87/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
88In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
89 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
90 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
91 from /home/clone2727/boost-git/boost/function.hpp:64,
92 from boost_factory_bug.cpp:1:
93/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 5 arguments, 1 provided
94 return (*f)(BOOST_FUNCTION_ARGS);
95 ^
96In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:77:0,
97 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
98 from boost_factory_bug.cpp:2:
99/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4, class T5> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&, T5&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; T5 = T5; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
100 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
101 ^
102/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
103In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
104 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
105 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
106 from /home/clone2727/boost-git/boost/function.hpp:64,
107 from boost_factory_bug.cpp:1:
108/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 6 arguments, 1 provided
109 return (*f)(BOOST_FUNCTION_ARGS);
110 ^
111In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:82:0,
112 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
113 from boost_factory_bug.cpp:2:
114/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4, class T5, class T6> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&, T5&, T6&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; T5 = T5; T6 = T6; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
115 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
116 ^
117/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
118In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
119 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
120 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
121 from /home/clone2727/boost-git/boost/function.hpp:64,
122 from boost_factory_bug.cpp:1:
123/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 7 arguments, 1 provided
124 return (*f)(BOOST_FUNCTION_ARGS);
125 ^
126In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:87:0,
127 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
128 from boost_factory_bug.cpp:2:
129/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4, class T5, class T6, class T7> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&, T5&, T6&, T7&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; T5 = T5; T6 = T6; T7 = T7; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
130 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
131 ^
132/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
133In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
134 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
135 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
136 from /home/clone2727/boost-git/boost/function.hpp:64,
137 from boost_factory_bug.cpp:1:
138/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 8 arguments, 1 provided
139 return (*f)(BOOST_FUNCTION_ARGS);
140 ^
141In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:92:0,
142 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
143 from boost_factory_bug.cpp:2:
144/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&, T5&, T6&, T7&, T8&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; T5 = T5; T6 = T6; T7 = T7; T8 = T8; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
145 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
146 ^
147/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
148In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
149 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
150 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
151 from /home/clone2727/boost-git/boost/function.hpp:64,
152 from boost_factory_bug.cpp:1:
153/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 9 arguments, 1 provided
154 return (*f)(BOOST_FUNCTION_ARGS);
155 ^
156In file included from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:97:0,
157 from /home/clone2727/boost-git/boost/functional/factory.hpp:65,
158 from boost_factory_bug.cpp:2:
159/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: candidate: template<class T0, class T1, class T2, class T3, class T4, class T5, class T6, class T7, class T8, class T9> boost::factory<Pointer, void, AP>::result_type boost::factory<Pointer, void, AP>::operator()(T0&, T1&, T2&, T3&, T4&, T5&, T6&, T7&, T8&, T9&) const [with T0 = T0; T1 = T1; T2 = T2; T3 = T3; T4 = T4; T5 = T5; T6 = T6; T7 = T7; T8 = T8; T9 = T9; Pointer = TestClass*; boost::factory_alloc_propagation AP = (boost::factory_alloc_propagation)0u]
160 inline result_type operator()(BOOST_PP_ENUM_BINARY_PARAMS(N,T,& a)) const
161 ^
162/home/clone2727/boost-git/boost/functional/factory.hpp:155:24: note: template argument deduction/substitution failed:
163In file included from /home/clone2727/boost-git/boost/function/detail/maybe_include.hpp:18:0,
164 from /home/clone2727/boost-git/boost/function/detail/function_iterate.hpp:14,
165 from /home/clone2727/boost-git/boost/preprocessor/iteration/detail/iter/forward1.hpp:52,
166 from /home/clone2727/boost-git/boost/function.hpp:64,
167 from boost_factory_bug.cpp:1:
168/home/clone2727/boost-git/boost/function/function_template.hpp:138:22: note: candidate expects 10 arguments, 1 provided
169 return (*f)(BOOST_FUNCTION_ARGS);
170 ^