Ticket #4940: clang.log

File clang.log, 7.9 KB (added by osmano807@…, 12 years ago)

Log output when compilling with clang

Line 
1In file included from test.cpp:1:
2/usr/include/boost/iostreams/device/file_descriptor.hpp:276:12: error: functional-style cast from 'int const' to 'detail::path' is not allowed
3 { open(detail::path(path), mode); }
4 ^~~~~~~~~~~~~
5In file included from test.cpp:2:
6/usr/include/boost/iostreams/stream.hpp:128:5: note: in instantiation of function template specialization 'boost::iostreams::file_descriptor_sink::file_descriptor_sink<int>' requested here
7 BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
8 ^
9In file included from test.cpp:2:
10In file included from /usr/include/boost/iostreams/stream.hpp:18:
11/usr/include/boost/iostreams/detail/forward.hpp:56:5: note: instantiated from:
12 BOOST_PP_REPEAT_FROM_TO( \
13 ^
14In file included from test.cpp:2:
15In file included from /usr/include/boost/iostreams/stream.hpp:18:
16In file included from /usr/include/boost/iostreams/detail/forward.hpp:24:
17/usr/include/boost/preprocessor/repetition/repeat_from_to.hpp:34:34: note: instantiated from:
18# define BOOST_PP_REPEAT_FROM_TO BOOST_PP_CAT(BOOST_PP_REPEAT_FROM_TO_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
19 ^
20In file included from test.cpp:1:
21In file included from /usr/include/boost/iostreams/device/file_descriptor.hpp:26:
22In file included from /usr/include/boost/iostreams/detail/path.hpp:31:
23In file included from /usr/include/boost/type_traits/is_same.hpp:31:
24In file included from /usr/include/boost/type_traits/detail/bool_trait_def.hpp:14:
25In file included from /usr/include/boost/type_traits/detail/template_arity_spec.hpp:10:
26In file included from /usr/include/boost/mpl/int.hpp:20:
27In file included from /usr/include/boost/mpl/aux_/integral_wrapper.hpp:22:
28/usr/include/boost/preprocessor/cat.hpp:22:32: note: instantiated from:
29# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
30 ^
31note: (skipping 14 contexts in backtrace; use -fmacro-backtrace-limit=0 to see all)
32In file included from test.cpp:2:
33In file included from /usr/include/boost/iostreams/stream.hpp:18:
34In file included from /usr/include/boost/iostreams/detail/forward.hpp:22:
35In file included from /usr/include/boost/preprocessor/repetition/enum_binary_params.hpp:19:
36/usr/include/boost/preprocessor/tuple/elem.hpp:20:53: note: instantiated from:
37# define BOOST_PP_TUPLE_ELEM(size, index, tuple) BOOST_PP_TUPLE_ELEM_I(size, index, tuple)
38 ^
39<scratch space>:110:1: note: instantiated from:
40BOOST_PP_TUPLE_ELEM_3_2
41^
42In file included from test.cpp:2:
43/usr/include/boost/iostreams/stream.hpp:128:5: note: instantiated from:
44 BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
45 ^
46In file included from test.cpp:2:
47In file included from /usr/include/boost/iostreams/stream.hpp:18:
48/usr/include/boost/iostreams/detail/forward.hpp:56:5: note: instantiated from:
49 BOOST_PP_REPEAT_FROM_TO( \
50 ^
51In file included from test.cpp:2:
52In file included from /usr/include/boost/iostreams/stream.hpp:18:
53In file included from /usr/include/boost/iostreams/detail/forward.hpp:24:
54/usr/include/boost/preprocessor/repetition/repeat_from_to.hpp:34:34: note: instantiated from:
55# define BOOST_PP_REPEAT_FROM_TO BOOST_PP_CAT(BOOST_PP_REPEAT_FROM_TO_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
56 ^
57In file included from test.cpp:1:
58In file included from /usr/include/boost/iostreams/device/file_descriptor.hpp:26:
59In file included from /usr/include/boost/iostreams/detail/path.hpp:31:
60In file included from /usr/include/boost/type_traits/is_same.hpp:31:
61In file included from /usr/include/boost/type_traits/detail/bool_trait_def.hpp:14:
62In file included from /usr/include/boost/type_traits/detail/template_arity_spec.hpp:10:
63In file included from /usr/include/boost/mpl/int.hpp:20:
64In file included from /usr/include/boost/mpl/aux_/integral_wrapper.hpp:22:
65/usr/include/boost/preprocessor/cat.hpp:22:32: note: instantiated from:
66# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
67 ^
68note: (skipping 14 contexts in backtrace; use -fmacro-backtrace-limit=0 to see all)
69In file included from test.cpp:2:
70In file included from /usr/include/boost/iostreams/stream.hpp:18:
71In file included from /usr/include/boost/iostreams/detail/forward.hpp:22:
72In file included from /usr/include/boost/preprocessor/repetition/enum_binary_params.hpp:19:
73/usr/include/boost/preprocessor/tuple/elem.hpp:20:53: note: instantiated from:
74# define BOOST_PP_TUPLE_ELEM(size, index, tuple) BOOST_PP_TUPLE_ELEM_I(size, index, tuple)
75 ^
76In file included from test.cpp:2:
77/usr/include/boost/iostreams/stream.hpp:128:5: note: instantiated from:
78 BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
79 ^
80In file included from test.cpp:2:
81In file included from /usr/include/boost/iostreams/stream.hpp:18:
82/usr/include/boost/iostreams/detail/forward.hpp:56:5: note: instantiated from:
83 BOOST_PP_REPEAT_FROM_TO( \
84 ^
85In file included from test.cpp:2:
86In file included from /usr/include/boost/iostreams/stream.hpp:18:
87In file included from /usr/include/boost/iostreams/detail/forward.hpp:24:
88/usr/include/boost/preprocessor/repetition/repeat_from_to.hpp:34:34: note: instantiated from:
89# define BOOST_PP_REPEAT_FROM_TO BOOST_PP_CAT(BOOST_PP_REPEAT_FROM_TO_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
90 ^
91In file included from test.cpp:1:
92In file included from /usr/include/boost/iostreams/device/file_descriptor.hpp:26:
93In file included from /usr/include/boost/iostreams/detail/path.hpp:31:
94In file included from /usr/include/boost/type_traits/is_same.hpp:31:
95In file included from /usr/include/boost/type_traits/detail/bool_trait_def.hpp:14:
96In file included from /usr/include/boost/type_traits/detail/template_arity_spec.hpp:10:
97In file included from /usr/include/boost/mpl/int.hpp:20:
98In file included from /usr/include/boost/mpl/aux_/integral_wrapper.hpp:22:
99/usr/include/boost/preprocessor/cat.hpp:22:32: note: instantiated from:
100# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
101 ^
102note: (skipping 14 contexts in backtrace; use -fmacro-backtrace-limit=0 to see all)
103In file included from test.cpp:2:
104/usr/include/boost/iostreams/stream.hpp:128:5: note: instantiated from:
105 BOOST_IOSTREAMS_FORWARD( stream, open_impl, Device,
106 ^
107In file included from test.cpp:2:
108In file included from /usr/include/boost/iostreams/stream.hpp:18:
109/usr/include/boost/iostreams/detail/forward.hpp:56:5: note: instantiated from:
110 BOOST_PP_REPEAT_FROM_TO( \
111 ^
112In file included from test.cpp:2:
113In file included from /usr/include/boost/iostreams/stream.hpp:18:
114In file included from /usr/include/boost/iostreams/detail/forward.hpp:24:
115/usr/include/boost/preprocessor/repetition/repeat_from_to.hpp:34:34: note: instantiated from:
116# define BOOST_PP_REPEAT_FROM_TO BOOST_PP_CAT(BOOST_PP_REPEAT_FROM_TO_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
117 ^
118In file included from test.cpp:1:
119In file included from /usr/include/boost/iostreams/device/file_descriptor.hpp:26:
120In file included from /usr/include/boost/iostreams/detail/path.hpp:31:
121In file included from /usr/include/boost/type_traits/is_same.hpp:31:
122In file included from /usr/include/boost/type_traits/detail/bool_trait_def.hpp:14:
123In file included from /usr/include/boost/type_traits/detail/template_arity_spec.hpp:10:
124In file included from /usr/include/boost/mpl/int.hpp:20:
125In file included from /usr/include/boost/mpl/aux_/integral_wrapper.hpp:22:
126/usr/include/boost/preprocessor/cat.hpp:22:32: note: instantiated from:
127# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
128 ^
129note: (skipping 14 contexts in backtrace; use -fmacro-backtrace-limit=0 to see all)
130test.cpp:9:23: note: in instantiation of function template specialization 'boost::iostreams::stream<boost::iostreams::file_descriptor_sink, std::char_traits<char>, std::allocator<char> >::stream<int>' requested here
131 fdstream(int fd): stream<file_descriptor_sink>(fd) {}
132 ^
1331 error generated.