Ticket #11476: clang_output

File clang_output, 17.5 KB (added by gromer@…, 7 years ago)

clang++ output

Line 
1In file included from test.cc:1:
2In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
3In file included from boost_1_58_0/boost/container/allocator_traits.hpp:33:
4In file included from boost_1_58_0/boost/container/detail/type_traits.hpp:27:
5boost_1_58_0/boost/move/detail/type_traits.hpp:725:35: error: unknown type name 'bool_'
6 static yes_type test(U&, bool_<sizeof(U(source<U>()))>* = 0);
7 ^
8boost_1_58_0/boost/move/detail/type_traits.hpp:725:40: error: expected ')'
9 static yes_type test(U&, bool_<sizeof(U(source<U>()))>* = 0);
10 ^
11boost_1_58_0/boost/move/detail/type_traits.hpp:725:30: note: to match this '('
12 static yes_type test(U&, bool_<sizeof(U(source<U>()))>* = 0);
13 ^
14In file included from test.cc:1:
15In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
16In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57:
17boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:37:12: error: unknown type name 'dont_care'
18 typedef dont_care type;
19 ^
20boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_allocate'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'?
21 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
22 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 intrusive::detail::has_member_function_callable_with_pointer_to
24boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
25#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
26 ^
27boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
28#define BOOST_MOVE_CAT_I(a, b) a ## b
29 ^
30<scratch space>:98:1: note: expanded from here
31has_member_function_callable_with_allocate
32^
33boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here
34BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
35 ^
36boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
37 class TRAITS_NAME \
38 ^
39In file included from test.cc:1:
40In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
41In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57:
42boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' must originally be declared in namespace 'detail'
43 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
44 ^
45boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
46#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
47 ^
48boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
49#define BOOST_MOVE_CAT_I(a, b) a ## b
50 ^
51<scratch space>:98:1: note: expanded from here
52has_member_function_callable_with_allocate
53^
54boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here
55BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
56 ^
57boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
58 class TRAITS_NAME \
59 ^
60In file included from test.cc:1:
61In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
62In file included from boost_1_58_0/boost/container/allocator_traits.hpp:57:
63boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: expected '>'
64 ( (::boost::move_detail::declval< FunWrap<Fun> >().
65 ^
66boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: type name requires a specifier or qualifier
67boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:87: error: expected ')'
68boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:153:48: note: to match this '('
69 ( (::boost::move_detail::declval< FunWrap<Fun> >().
70 ^
71In file included from test.cc:1:
72In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
73In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64:
74boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: error: redefinition of 'FunWrapTmpl'
75 struct FunWrapTmpl : Fun
76 ^
77boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: note: previous definition is here
78 struct FunWrapTmpl : Fun
79 ^
80In file included from test.cc:1:
81In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
82In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64:
83boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_destroy'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'?
84 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
85 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
86 intrusive::detail::has_member_function_callable_with_pointer_to
87boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
88#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
89 ^
90boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
91#define BOOST_MOVE_CAT_I(a, b) a ## b
92 ^
93<scratch space>:98:1: note: expanded from here
94has_member_function_callable_with_destroy
95^
96boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here
97BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
98 ^
99boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
100 class TRAITS_NAME \
101 ^
102In file included from test.cc:1:
103In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
104In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64:
105boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' not in a namespace enclosing 'detail'
106 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
107 ^
108boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
109#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
110 ^
111boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
112#define BOOST_MOVE_CAT_I(a, b) a ## b
113 ^
114<scratch space>:98:1: note: expanded from here
115has_member_function_callable_with_destroy
116^
117boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here
118BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
119 ^
120boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
121 class TRAITS_NAME \
122 ^
123In file included from test.cc:1:
124In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
125In file included from boost_1_58_0/boost/container/allocator_traits.hpp:64:
126boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: redefinition of 'has_member_function_callable_with_pointer_to<type-parameter-0-0, type-parameter-0-1...>'
127 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
128 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
130#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
131 ^
132boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
133#define BOOST_MOVE_CAT_I(a, b) a ## b
134 ^
135<scratch space>:98:1: note: expanded from here
136has_member_function_callable_with_destroy
137^
138boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: note: previous definition is here
139 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
140 ^
141boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
142#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
143 ^
144boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
145#define BOOST_MOVE_CAT_I(a, b) a ## b
146 ^
147<scratch space>:98:1: note: expanded from here
148has_member_function_callable_with_allocate
149^
150In file included from test.cc:1:
151In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
152In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71:
153boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: error: redefinition of 'FunWrapTmpl'
154 struct FunWrapTmpl : Fun
155 ^
156boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:140:14: note: previous definition is here
157 struct FunWrapTmpl : Fun
158 ^
159In file included from test.cc:1:
160In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
161In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71:
162boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: no template named 'has_member_function_callable_with_construct'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'?
163 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
164 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 intrusive::detail::has_member_function_callable_with_pointer_to
166boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
167#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
168 ^
169boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
170#define BOOST_MOVE_CAT_I(a, b) a ## b
171 ^
172<scratch space>:98:1: note: expanded from here
173has_member_function_callable_with_construct
174^
175boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here
176BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
177 ^
178boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
179 class TRAITS_NAME \
180 ^
181In file included from test.cc:1:
182In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
183In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71:
184boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: class template partial specialization of 'has_member_function_callable_with_pointer_to' not in a namespace enclosing 'detail'
185 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
186 ^
187boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
188#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
189 ^
190boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
191#define BOOST_MOVE_CAT_I(a, b) a ## b
192 ^
193<scratch space>:98:1: note: expanded from here
194has_member_function_callable_with_construct
195^
196boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: explicitly specialized declaration is here
197BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
198 ^
199boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
200 class TRAITS_NAME \
201 ^
202In file included from test.cc:1:
203In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
204In file included from boost_1_58_0/boost/container/allocator_traits.hpp:71:
205boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: error: redefinition of 'has_member_function_callable_with_pointer_to<type-parameter-0-0, type-parameter-0-1...>'
206 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
207 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
209#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
210 ^
211boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
212#define BOOST_MOVE_CAT_I(a, b) a ## b
213 ^
214<scratch space>:98:1: note: expanded from here
215has_member_function_callable_with_construct
216^
217boost_1_58_0/boost/intrusive/detail/has_member_function_callable_with.hpp:147:14: note: previous definition is here
218 struct BOOST_MOVE_CAT(has_member_function_callable_with_,BOOST_INTRUSIVE_HAS_MEMBER_FUNCTION_CALLABLE_WITH_FUNCNAME)<Fun, Args...>
219 ^
220boost_1_58_0/boost/move/detail/fwd_macros.hpp:460:30: note: expanded from macro 'BOOST_MOVE_CAT'
221#define BOOST_MOVE_CAT(a, b) BOOST_MOVE_CAT_I(a, b)
222 ^
223boost_1_58_0/boost/move/detail/fwd_macros.hpp:461:32: note: expanded from macro 'BOOST_MOVE_CAT_I'
224#define BOOST_MOVE_CAT_I(a, b) a ## b
225 ^
226<scratch space>:98:1: note: expanded from here
227has_member_function_callable_with_allocate
228^
229In file included from test.cc:1:
230In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
231boost_1_58_0/boost/container/allocator_traits.hpp:294:26: error: no template named 'has_member_function_callable_with_allocate' in namespace 'boost::container::container_detail'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to'?
232 const bool value = boost::container::container_detail::
233 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 intrusive::detail::has_member_function_callable_with_pointer_to
235boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: 'intrusive::detail::has_member_function_callable_with_pointer_to' declared here
236BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
237 ^
238boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
239 class TRAITS_NAME \
240 ^
241In file included from test.cc:1:
242In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
243boost_1_58_0/boost/container/allocator_traits.hpp:295:10: error: too many template arguments for class template 'has_member_function_callable_with_pointer_to'
244 has_member_function_callable_with_allocate
245 ^
246boost_1_58_0/boost/intrusive/pointer_traits.hpp:36:50: note: template is declared here
247BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE(has_member_function_callable_with_pointer_to, pointer_to)
248~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249boost_1_58_0/boost/intrusive/detail/mpl.hpp:378:9: note: expanded from macro 'BOOST_INTRUSIVE_HAS_STATIC_MEMBER_FUNC_SIGNATURE'
250 class TRAITS_NAME \
251 ^
252In file included from test.cc:1:
253In file included from boost_1_58_0/boost/container/flat_map.hpp:24:
254boost_1_58_0/boost/container/allocator_traits.hpp:297:31: error: non-type template argument is not a constant expression
255 container_detail::bool_<value> flag;
256 ^
257fatal error: too many errors emitted, stopping now [-ferror-limit=]
25820 errors generated.