/usr/bin/c++ -Werror -Wall -Wextra -Wpedantic -Wunused -Wno-unused-parameter -Wcast-qual -Wmissing-declarations -Wmissing-include-dirs -Wuninitialized -std=c++11 -o CMakeFiles/boosttest.dir/main.cpp.o -c /home/tyssk/dev/boostbug/main.cpp In file included from /usr/include/termios.h:39:0, from /usr/include/boost/asio/serial_port_base.hpp:25, from /usr/include/boost/asio/basic_serial_port.hpp:29, from /usr/include/boost/asio.hpp:26, from /home/tyssk/dev/boostbug/main.cpp:1: /usr/include/boost/geometry/algorithms/assign.hpp:320:50: error: expected nested-name-specifier before numeric constant template ^ /usr/include/boost/geometry/algorithms/assign.hpp:320:50: error: expected ‘>’ before numeric constant In file included from /usr/include/boost/geometry/geometries/concepts/check.hpp:22:0, from /usr/include/boost/geometry/algorithms/detail/assign_indexed_point.hpp:20, from /usr/include/boost/geometry/policies/relate/intersection_points.hpp:19, from /usr/include/boost/geometry/strategies/intersection.hpp:15, from /usr/include/boost/geometry/strategies/strategies.hpp:31, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/assign.hpp:321:62: error: ‘BN’ was not declared in this scope struct assign, variant > ^ /usr/include/boost/geometry/algorithms/assign.hpp:321:62: error: expected parameter pack before ‘...’ struct assign, variant > ^ In file included from /usr/include/boost/geometry/io/wkt/read.hpp:29:0, from /usr/include/boost/geometry/io/wkt/wkt.hpp:17, from /usr/include/boost/geometry/strategies/cartesian/buffer_end_round.hpp:20, from /usr/include/boost/geometry/strategies/strategies.hpp:39, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/assign.hpp:321:90: error: type/value mismatch at argument 1 in template parameter list for ‘template class boost::variant’ struct assign, variant > ^ /usr/include/boost/geometry/algorithms/assign.hpp:321:90: error: expected a type, got ‘0’ /usr/include/boost/geometry/algorithms/assign.hpp:321:90: error: template argument 2 is invalid /usr/include/boost/geometry/algorithms/assign.hpp:321:92: error: template argument 2 is invalid struct assign, variant > ^ In file included from /usr/include/termios.h:39:0, from /usr/include/boost/asio/serial_port_base.hpp:25, from /usr/include/boost/asio/basic_serial_port.hpp:29, from /usr/include/boost/asio.hpp:26, from /home/tyssk/dev/boostbug/main.cpp:1: /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:264:5: error: expected nested-name-specifier before numeric constant BOOST_VARIANT_ENUM_PARAMS(typename B) ^ /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:264:5: error: expected ‘>’ before numeric constant In file included from /usr/include/boost/geometry/geometries/concepts/check.hpp:22:0, from /usr/include/boost/geometry/algorithms/detail/assign_indexed_point.hpp:20, from /usr/include/boost/geometry/policies/relate/intersection_points.hpp:19, from /usr/include/boost/geometry/strategies/intersection.hpp:15, from /usr/include/boost/geometry/strategies/strategies.hpp:31, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:269:24: error: ‘BN’ was not declared in this scope boost::variant ^ /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:269:24: error: expected parameter pack before ‘...’ boost::variant ^ In file included from /usr/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp:16:0, from /usr/include/boost/geometry/strategies/strategies.hpp:48, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:269:52: error: type/value mismatch at argument 1 in template parameter list for ‘template class boost::variant’ boost::variant ^ /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:269:52: error: expected a type, got ‘0’ /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:269:52: error: template argument 2 is invalid /usr/include/boost/geometry/algorithms/detail/distance/interface.hpp:270:5: error: template argument 2 is invalid > ^ In file included from /usr/include/termios.h:39:0, from /usr/include/boost/asio/serial_port_base.hpp:25, from /usr/include/boost/asio/basic_serial_port.hpp:29, from /usr/include/boost/asio.hpp:26, from /home/tyssk/dev/boostbug/main.cpp:1: /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:236:5: error: expected nested-name-specifier before numeric constant BOOST_VARIANT_ENUM_PARAMS(typename B) ^ /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:236:5: error: expected ‘>’ before numeric constant In file included from /usr/include/boost/geometry/geometries/concepts/check.hpp:22:0, from /usr/include/boost/geometry/algorithms/detail/assign_indexed_point.hpp:20, from /usr/include/boost/geometry/policies/relate/intersection_points.hpp:19, from /usr/include/boost/geometry/strategies/intersection.hpp:15, from /usr/include/boost/geometry/strategies/strategies.hpp:31, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:241:24: error: ‘BN’ was not declared in this scope boost::variant ^ /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:241:24: error: expected parameter pack before ‘...’ boost::variant ^ In file included from /usr/include/boost/geometry/algorithms/comparable_distance.hpp:22:0, from /usr/include/boost/geometry/geometry.hpp:51, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:241:52: error: type/value mismatch at argument 1 in template parameter list for ‘template class boost::variant’ boost::variant ^ /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:241:52: error: expected a type, got ‘0’ /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:241:52: error: template argument 2 is invalid /usr/include/boost/geometry/algorithms/detail/comparable_distance/interface.hpp:242:5: error: template argument 2 is invalid > ^ In file included from /usr/include/termios.h:39:0, from /usr/include/boost/asio/serial_port_base.hpp:25, from /usr/include/boost/asio/basic_serial_port.hpp:29, from /usr/include/boost/asio.hpp:26, from /home/tyssk/dev/boostbug/main.cpp:1: /usr/include/boost/geometry/algorithms/intersection.hpp:236:50: error: expected nested-name-specifier before numeric constant template ^ /usr/include/boost/geometry/algorithms/intersection.hpp:236:50: error: expected ‘>’ before numeric constant In file included from /usr/include/boost/geometry/geometries/concepts/check.hpp:22:0, from /usr/include/boost/geometry/algorithms/detail/assign_indexed_point.hpp:20, from /usr/include/boost/geometry/policies/relate/intersection_points.hpp:19, from /usr/include/boost/geometry/strategies/intersection.hpp:15, from /usr/include/boost/geometry/strategies/strategies.hpp:31, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/intersection.hpp:237:68: error: ‘BN’ was not declared in this scope struct intersection, variant > ^ /usr/include/boost/geometry/algorithms/intersection.hpp:237:68: error: expected parameter pack before ‘...’ struct intersection, variant > ^ In file included from /usr/include/boost/geometry/index/detail/algorithms/intersection_content.hpp:14:0, from /usr/include/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp:19, from /usr/include/boost/geometry/index/detail/rtree/rstar/rstar.hpp:15, from /usr/include/boost/geometry/index/rtree.hpp:72, from /usr/include/boost/geometry/algorithms/detail/distance/geometry_to_geometry_rtree.hpp:35, from /usr/include/boost/geometry/algorithms/detail/distance/single_to_multi.hpp:52, from /usr/include/boost/geometry/algorithms/detail/distance/implementation.hpp:29, from /usr/include/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp:22, from /usr/include/boost/geometry/algorithms/comparable_distance.hpp:23, from /usr/include/boost/geometry/geometry.hpp:51, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/intersection.hpp:237:96: error: type/value mismatch at argument 1 in template parameter list for ‘template class boost::variant’ struct intersection, variant > ^ /usr/include/boost/geometry/algorithms/intersection.hpp:237:96: error: expected a type, got ‘0’ /usr/include/boost/geometry/algorithms/intersection.hpp:237:96: error: template argument 2 is invalid /usr/include/boost/geometry/algorithms/intersection.hpp:237:98: error: template argument 2 is invalid struct intersection, variant > ^ In file included from /usr/include/termios.h:39:0, from /usr/include/boost/asio/serial_port_base.hpp:25, from /usr/include/boost/asio/basic_serial_port.hpp:29, from /usr/include/boost/asio.hpp:26, from /home/tyssk/dev/boostbug/main.cpp:1: /usr/include/boost/geometry/algorithms/crosses.hpp:144:54: error: expected nested-name-specifier before numeric constant template ^ /usr/include/boost/geometry/algorithms/crosses.hpp:144:54: error: expected ‘>’ before numeric constant In file included from /usr/include/boost/geometry/geometries/concepts/check.hpp:22:0, from /usr/include/boost/geometry/algorithms/detail/assign_indexed_point.hpp:20, from /usr/include/boost/geometry/policies/relate/intersection_points.hpp:19, from /usr/include/boost/geometry/strategies/intersection.hpp:15, from /usr/include/boost/geometry/strategies/strategies.hpp:31, from /usr/include/boost/geometry/geometry.hpp:43, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/crosses.hpp:145:67: error: ‘BN’ was not declared in this scope struct crosses, variant > ^ /usr/include/boost/geometry/algorithms/crosses.hpp:145:67: error: expected parameter pack before ‘...’ struct crosses, variant > ^ In file included from /usr/include/boost/geometry/geometry.hpp:56:0, from /usr/include/boost/geometry.hpp:17, from /home/tyssk/dev/boostbug/main.cpp:2: /usr/include/boost/geometry/algorithms/crosses.hpp:145:95: error: type/value mismatch at argument 1 in template parameter list for ‘template class boost::variant’ struct crosses, variant > ^ /usr/include/boost/geometry/algorithms/crosses.hpp:145:95: error: expected a type, got ‘0’ /usr/include/boost/geometry/algorithms/crosses.hpp:145:95: error: template argument 2 is invalid /usr/include/boost/geometry/algorithms/crosses.hpp:145:97: error: template argument 2 is invalid struct crosses, variant > ^