In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:65: .../boost/polygon/polygon_90_set_traits.hpp:170:79: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename is_manhattan_polygonal_concept::type>::type type; ^ .../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 typename is_polygon_90_set_type::type>::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:76: .../boost/polygon/polygon_45_set_concept.hpp:22:61: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_90_set_type::type >::type type; ^ .../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 typename is_polygon_45_or_90_set_type::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:75: .../boost/polygon/polygon_45_set_traits.hpp:43:72: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename is_45_polygonal_concept::type>::type type; ^ .../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 typedef typename gtl_or::type, typename is_polygon_90_set_type::type >::type type; ^ .../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 typename is_polygon_45_or_90_set_type::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:76: .../boost/polygon/polygon_45_set_concept.hpp:22:103: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_90_set_type::type >::type type; ^ .../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 typename is_polygon_45_or_90_set_type::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:76: .../boost/polygon/polygon_45_set_concept.hpp:17:103: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_45_set_type::type >::type type; ^~ .../boost/polygon/detail/polygon_45_set_view.hpp:224:53: note: in instantiation of template class 'boost::polygon::is_either_polygon_45_set_type' requested here typename is_either_polygon_45_set_type::type>::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:81: In file included from .../boost/polygon/polygon_set_data.hpp:1004: .../boost/polygon/polygon_set_concept.hpp:21:67: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_set_type::type >::type type; ^ .../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 typename is_any_polygon_set_type::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:81: In file included from .../boost/polygon/polygon_set_data.hpp:1004: .../boost/polygon/polygon_set_concept.hpp:21:106: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_set_type::type >::type type; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:81: In file included from .../boost/polygon/polygon_set_data.hpp:1001: .../boost/polygon/polygon_set_traits.hpp:45:69: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename is_polygonal_concept::type>::type type; ^ .../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 typedef typename gtl_or::type, typename is_polygon_set_type::type >::type type; ^ .../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 typename is_any_polygon_set_type::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ In file included from bp_warn.cc:1: In file included from .../boost/polygon/polygon.hpp:81: In file included from .../boost/polygon/polygon_set_data.hpp:1004: .../boost/polygon/polygon_set_concept.hpp:16:97: error: template argument uses unnamed type [-Werror,-Wunnamed-type-template-args] typedef typename gtl_or::type, typename is_polygon_set_type::type >::type type; ^~ .../boost/polygon/polygon_set_concept.hpp:335:14: note: in instantiation of template class 'boost::polygon::is_either_polygon_set_type' requested here typename is_either_polygon_set_type::type>::type, ^ bp_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)] return 2 * YES; ^ bp_warn.cc:5:1: note: unnamed type used in template argument was declared here enum { NO=0, YES=1 }; ^ 9 errors generated.