Ticket #11315: warnings.txt

File warnings.txt, 9.9 KB (added by lopresti@…, 7 years ago)

Output of "clang++ -Wall -Werror -I/path/to/boost-1.58 -S bp_warn.cc"

Line 
1In file included from bp_warn.cc:1:
2In file included from .../boost/polygon/polygon.hpp:65:
3.../boost/polygon/polygon_90_set_traits.hpp:170:79: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
4 typedef typename is_manhattan_polygonal_concept<typename geometry_concept<T>::type>::type type;
5 ^
6.../boost/polygon/detail/polygon_90_set_view.hpp:308:14: note: in instantiation of template class 'boost::polygon::is_polygon_90_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
7 typename is_polygon_90_set_type<geometry_type_2>::type>::type,
8 ^
9bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
10 return 2 * YES;
11 ^
12bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
13enum { NO=0, YES=1 };
14^
15In file included from bp_warn.cc:1:
16In file included from .../boost/polygon/polygon.hpp:76:
17.../boost/polygon/polygon_45_set_concept.hpp:22:61: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
18 typedef typename gtl_or<typename is_polygon_45_set_type<T>::type, typename is_polygon_90_set_type<T>::type >::type type;
19 ^
20.../boost/polygon/detail/polygon_45_set_view.hpp:223:53: note: in instantiation of template class 'boost::polygon::is_polygon_45_or_90_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
21 typename is_polygon_45_or_90_set_type<geometry_type_2>::type,
22 ^
23bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
24 return 2 * YES;
25 ^
26bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
27enum { NO=0, YES=1 };
28^
29In file included from bp_warn.cc:1:
30In file included from .../boost/polygon/polygon.hpp:75:
31.../boost/polygon/polygon_45_set_traits.hpp:43:72: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
32 typedef typename is_45_polygonal_concept<typename geometry_concept<T>::type>::type type;
33 ^
34.../boost/polygon/polygon_45_set_concept.hpp:22:38: note: in instantiation of template class 'boost::polygon::is_polygon_45_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
35 typedef typename gtl_or<typename is_polygon_45_set_type<T>::type, typename is_polygon_90_set_type<T>::type >::type type;
36 ^
37.../boost/polygon/detail/polygon_45_set_view.hpp:223:53: note: in instantiation of template class 'boost::polygon::is_polygon_45_or_90_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
38 typename is_polygon_45_or_90_set_type<geometry_type_2>::type,
39 ^
40bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
41 return 2 * YES;
42 ^
43bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
44enum { NO=0, YES=1 };
45^
46In file included from bp_warn.cc:1:
47In file included from .../boost/polygon/polygon.hpp:76:
48.../boost/polygon/polygon_45_set_concept.hpp:22:103: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
49 typedef typename gtl_or<typename is_polygon_45_set_type<T>::type, typename is_polygon_90_set_type<T>::type >::type type;
50 ^
51.../boost/polygon/detail/polygon_45_set_view.hpp:223:53: note: in instantiation of template class 'boost::polygon::is_polygon_45_or_90_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
52 typename is_polygon_45_or_90_set_type<geometry_type_2>::type,
53 ^
54bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
55 return 2 * YES;
56 ^
57bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
58enum { NO=0, YES=1 };
59^
60In file included from bp_warn.cc:1:
61In file included from .../boost/polygon/polygon.hpp:76:
62.../boost/polygon/polygon_45_set_concept.hpp:17:103: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
63 typedef typename gtl_or<typename is_polygon_45_set_type<T>::type, typename is_polygon_45_set_type<T2>::type >::type type;
64 ^~
65.../boost/polygon/detail/polygon_45_set_view.hpp:224:53: note: in instantiation of template class 'boost::polygon::is_either_polygon_45_set_type<int, (anonymous enum at bp_warn.cc:5:1)>' requested here
66 typename is_either_polygon_45_set_type<geometry_type_1, geometry_type_2>::type>::type,
67 ^
68bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
69 return 2 * YES;
70 ^
71bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
72enum { NO=0, YES=1 };
73^
74In file included from bp_warn.cc:1:
75In file included from .../boost/polygon/polygon.hpp:81:
76In file included from .../boost/polygon/polygon_set_data.hpp:1004:
77.../boost/polygon/polygon_set_concept.hpp:21:67: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
78 typedef typename gtl_or<typename is_polygon_45_or_90_set_type<T>::type, typename is_polygon_set_type<T>::type >::type type;
79 ^
80.../boost/polygon/polygon_set_concept.hpp:334:14: note: in instantiation of template class 'boost::polygon::is_any_polygon_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
81 typename is_any_polygon_set_type<geometry_type_2>::type,
82 ^
83bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
84 return 2 * YES;
85 ^
86bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
87enum { NO=0, YES=1 };
88^
89In file included from bp_warn.cc:1:
90In file included from .../boost/polygon/polygon.hpp:81:
91In file included from .../boost/polygon/polygon_set_data.hpp:1004:
92.../boost/polygon/polygon_set_concept.hpp:21:106: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
93 typedef typename gtl_or<typename is_polygon_45_or_90_set_type<T>::type, typename is_polygon_set_type<T>::type >::type type;
94 ^
95bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
96enum { NO=0, YES=1 };
97^
98In file included from bp_warn.cc:1:
99In file included from .../boost/polygon/polygon.hpp:81:
100In file included from .../boost/polygon/polygon_set_data.hpp:1001:
101.../boost/polygon/polygon_set_traits.hpp:45:69: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
102 typedef typename is_polygonal_concept<typename geometry_concept<T>::type>::type type;
103 ^
104.../boost/polygon/polygon_set_concept.hpp:21:86: note: in instantiation of template class 'boost::polygon::is_polygon_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
105 typedef typename gtl_or<typename is_polygon_45_or_90_set_type<T>::type, typename is_polygon_set_type<T>::type >::type type;
106 ^
107.../boost/polygon/polygon_set_concept.hpp:334:14: note: in instantiation of template class 'boost::polygon::is_any_polygon_set_type<(anonymous enum at bp_warn.cc:5:1)>' requested here
108 typename is_any_polygon_set_type<geometry_type_2>::type,
109 ^
110bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
111 return 2 * YES;
112 ^
113bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
114enum { NO=0, YES=1 };
115^
116In file included from bp_warn.cc:1:
117In file included from .../boost/polygon/polygon.hpp:81:
118In file included from .../boost/polygon/polygon_set_data.hpp:1004:
119.../boost/polygon/polygon_set_concept.hpp:16:97: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args]
120 typedef typename gtl_or<typename is_polygon_set_type<T>::type, typename is_polygon_set_type<T2>::type >::type type;
121 ^~
122.../boost/polygon/polygon_set_concept.hpp:335:14: note: in instantiation of template class 'boost::polygon::is_either_polygon_set_type<int, (anonymous enum at bp_warn.cc:5:1)>' requested here
123 typename is_either_polygon_set_type<geometry_type_1, geometry_type_2>::type>::type,
124 ^
125bp_warn.cc:10:14: note: while substituting deduced template arguments into function template 'operator*' [with geometry_type_1 = int, geometry_type_2 = (anonymous enum at bp_warn.cc:5:1)]
126 return 2 * YES;
127 ^
128bp_warn.cc:5:1: note: unnamed type used in template argument was declared here
129enum { NO=0, YES=1 };
130^
1319 errors generated.