Closed phiresky closed 7 years ago
fuller log:
[ 28%] Built target server-obj
[ 36%] Built target alacarte-obj
[ 38%] Built target alacarte-maps-server
[ 40%] Built target alacarte-maps-importer
[ 48%] Built target alacarte-obj-test
[ 77%] Built target server-obj-test
[ 78%] Built target UnitTests-shared-obj
[ 78%] Building CXX object CMakeFiles/unitTests_parser.dir/tests/parser/grammar-tests/color_grammar_test.cpp.o
In file included from /usr/include/boost/iostreams/detail/is_dereferenceable.hpp:12:0,
from /usr/include/boost/iostreams/detail/resolve.hpp:26,
from /usr/include/boost/iostreams/detail/push.hpp:24,
from /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
from /usr/include/boost/iostreams/stream_buffer.hpp:22,
from /usr/include/boost/iostreams/stream.hpp:21,
from /usr/include/boost/spirit/home/qi/stream/detail/iterator_source.hpp:14,
from /usr/include/boost/spirit/home/qi/stream/stream.hpp:16,
from /usr/include/boost/spirit/home/qi/stream.hpp:15,
from /usr/include/boost/spirit/home/qi.hpp:30,
from /usr/include/boost/spirit/include/qi.hpp:16,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:4:
/usr/include/boost/type_traits/detail/bool_trait_def.hpp:18:79: note: #pragma message: NOTE: Use of this header (bool_trait_def.hpp) is deprecated
# pragma message("NOTE: Use of this header (bool_trait_def.hpp) is deprecated")
^
In file included from /usr/include/boost/type_traits/detail/bool_trait_def.hpp:21:0,
from /usr/include/boost/iostreams/detail/is_dereferenceable.hpp:12,
from /usr/include/boost/iostreams/detail/resolve.hpp:26,
from /usr/include/boost/iostreams/detail/push.hpp:24,
from /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
from /usr/include/boost/iostreams/stream_buffer.hpp:22,
from /usr/include/boost/iostreams/stream.hpp:21,
from /usr/include/boost/spirit/home/qi/stream/detail/iterator_source.hpp:14,
from /usr/include/boost/spirit/home/qi/stream/stream.hpp:16,
from /usr/include/boost/spirit/home/qi/stream.hpp:15,
from /usr/include/boost/spirit/home/qi.hpp:30,
from /usr/include/boost/spirit/include/qi.hpp:16,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:4:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: #pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated
# pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
^
In file included from /usr/include/boost/iostreams/detail/is_dereferenceable.hpp:13:0,
from /usr/include/boost/iostreams/detail/resolve.hpp:26,
from /usr/include/boost/iostreams/detail/push.hpp:24,
from /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
from /usr/include/boost/iostreams/stream_buffer.hpp:22,
from /usr/include/boost/iostreams/stream.hpp:21,
from /usr/include/boost/spirit/home/qi/stream/detail/iterator_source.hpp:14,
from /usr/include/boost/spirit/home/qi/stream/stream.hpp:16,
from /usr/include/boost/spirit/home/qi/stream.hpp:15,
from /usr/include/boost/spirit/home/qi.hpp:30,
from /usr/include/boost/spirit/include/qi.hpp:16,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:4:
/usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: #pragma message: NOTE: Use of this header (template_arity_spec.hpp) is deprecated
# pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
^
In file included from /usr/include/boost/config.hpp:61:0,
from /usr/include/boost/test/test_tools.hpp:17,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp: In instantiation of ‘const bool boost::detail::has_left_shift_impl::operator_exists<std::basic_ostream<char>, Color>::value’:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:179:4: required from ‘const bool boost::detail::has_left_shift_impl::trait_impl1<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care, false>::value’
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:208:4: required from ‘const bool boost::detail::has_left_shift_impl::trait_impl<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care>::value’
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:216:8: required from ‘struct boost::has_left_shift<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care>’
/usr/include/boost/test/tools/detail/print_helper.hpp:47:5: required from ‘struct boost::test_tools::tt_detail::print_log_value<Color>’
/usr/include/boost/test/tools/detail/print_helper.hpp:178:5: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t<T>&) [with T = Color; std::ostream = std::basic_ostream<char>]’
/usr/include/boost/test/utils/lazy_ostream.hpp:66:29: required from ‘std::ostream& boost::unit_test::lazy_ostream_impl<PrevType, T, StorageT>::operator()(std::ostream&) const [with PrevType = boost::unit_test::lazy_ostream; T = boost::test_tools::tt_detail::print_helper_t<Color>; StorageT = const boost::test_tools::tt_detail::print_helper_t<Color>&; std::ostream = std::basic_ostream<char>]’
/tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:59:24: required from here
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:158:70: error: ambiguous overload for ‘operator< ’ (operand types are ‘std::basic_ostream<char>’ and ‘Color’)
BOOST_STATIC_CONSTANT(bool, value = (sizeof(s_check(((make<Lhs>() BOOST_TT_TRAIT_OP make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
^
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(bool __n)
^~~~~~~~
In file included from /usr/include/c++/6.2.1/ostream:638:0,
from /usr/include/c++/6.2.1/iterator:64,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned short __n)
^~~~~~~~
In file included from /usr/include/c++/6.2.1/ostream:638:0,
from /usr/include/c++/6.2.1/iterator:64,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned int __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(double __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(float __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long double __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(const void* __p)
^~~~~~~~
In file included from /usr/include/boost/type_traits/has_left_shift.hpp:43:0,
from /usr/include/boost/test/tools/detail/print_helper.hpp:29,
from /usr/include/boost/test/tools/old/impl.hpp:24,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:70:13: note: candidate: boost::detail::has_left_shift_impl::no_operator boost::detail::has_left_shift_impl::operator<<(const boost::detail::has_left_shift_impl::any&, const boost::detail::has_left_shift_impl::any&)
no_operator operator BOOST_TT_TRAIT_OP (const any&, const any&);
^~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:519:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:514:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:508:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:502:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char) [with _CharT = char; _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
^~~~~~~~
In file included from /usr/include/boost/config.hpp:61:0,
from /usr/include/boost/test/test_tools.hpp:17,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp: In instantiation of ‘const bool boost::detail::has_left_shift_impl::operator_returns_void<std::basic_ostream<char>, Color>::value’:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:179:4: required from ‘const bool boost::detail::has_left_shift_impl::trait_impl1<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care, false>::value’
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:208:4: required from ‘const bool boost::detail::has_left_shift_impl::trait_impl<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care>::value’
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:216:8: required from ‘struct boost::has_left_shift<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care>’
/usr/include/boost/test/tools/detail/print_helper.hpp:47:5: required from ‘struct boost::test_tools::tt_detail::print_log_value<Color>’
/usr/include/boost/test/tools/detail/print_helper.hpp:178:5: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t<T>&) [with T = Color; std::ostream = std::basic_ostream<char>]’
/usr/include/boost/test/utils/lazy_ostream.hpp:66:29: required from ‘std::ostream& boost::unit_test::lazy_ostream_impl<PrevType, T, StorageT>::operator()(std::ostream&) const [with PrevType = boost::unit_test::lazy_ostream; T = boost::test_tools::tt_detail::print_helper_t<Color>; StorageT = const boost::test_tools::tt_detail::print_helper_t<Color>&; std::ostream = std::basic_ostream<char>]’
/tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:59:24: required from here
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:95:114: error: ambiguous overload for ‘operator< ’ (operand types are ‘std::basic_ostream<char>’ and ‘Color’)
C_CONSTANT(bool, value = (sizeof(::boost::type_traits::yes_type)==sizeof(returns_void((make<Lhs>() BOOST_TT_TRAIT_OP make<Rhs>(),returns_void_t())))));
^
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(bool __n)
^~~~~~~~
In file included from /usr/include/c++/6.2.1/ostream:638:0,
from /usr/include/c++/6.2.1/iterator:64,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned short __n)
^~~~~~~~
In file included from /usr/include/c++/6.2.1/ostream:638:0,
from /usr/include/c++/6.2.1/iterator:64,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
basic_ostream<_CharT, _Traits>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned int __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(unsigned long long __n)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(double __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(float __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(long double __f)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(const void* __p)
^~~~~~~~
In file included from /usr/include/boost/type_traits/has_left_shift.hpp:43:0,
from /usr/include/boost/test/tools/detail/print_helper.hpp:29,
from /usr/include/boost/test/tools/old/impl.hpp:24,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:70:13: note: candidate: boost::detail::has_left_shift_impl::no_operator boost::detail::has_left_shift_impl::operator<<(const boost::detail::has_left_shift_impl::any&, const boost::detail::has_left_shift_impl::any&)
no_operator operator BOOST_TT_TRAIT_OP (const any&, const any&);
^~~~~~~~
In file included from /usr/include/c++/6.2.1/iterator:64:0,
from /usr/include/boost/test/detail/workaround.hpp:19,
from /usr/include/boost/test/detail/global_typedef.hpp:16,
from /usr/include/boost/test/tree/observer.hpp:17,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/c++/6.2.1/ostream:519:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:514:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:508:5: note: candidate: std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char) [with _Traits = std::char_traits<char>]
operator<<(basic_ostream<char, _Traits>& __out, char __c)
^~~~~~~~
/usr/include/c++/6.2.1/ostream:502:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char) [with _CharT = char; _Traits = std::char_traits<char>]
operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
^~~~~~~~
In file included from /usr/include/boost/test/tools/floating_point_comparison.hpp:21:0,
from /usr/include/boost/test/tools/old/impl.hpp:21,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/../../tests.hpp:15,
from /tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:2:
/usr/include/boost/test/tools/detail/print_helper.hpp: In instantiation of ‘struct boost::test_tools::tt_detail::print_log_value<Color>’:
/usr/include/boost/test/tools/detail/print_helper.hpp:178:5: required from ‘std::ostream& boost::test_tools::tt_detail::operator<<(std::ostream&, const boost::test_tools::tt_detail::print_helper_t<T>&) [with T = Color; std::ostream = std::basic_ostream<char>]’
/usr/include/boost/test/utils/lazy_ostream.hpp:66:29: required from ‘std::ostream& boost::unit_test::lazy_ostream_impl<PrevType, T, StorageT>::operator()(std::ostream&) const [with PrevType = boost::unit_test::lazy_ostream; T = boost::test_tools::tt_detail::print_helper_t<Color>; StorageT = const boost::test_tools::tt_detail::print_helper_t<Color>&; std::ostream = std::basic_ostream<char>]’
/tmp/16.23.21/alacarte/tests/parser/grammar-tests/color_grammar_test.cpp:59:24: required from here
/usr/include/boost/test/tools/detail/print_helper.hpp:47:5: error: ‘value’ is not a member of ‘boost::has_left_shift<std::basic_ostream<char>, Color, boost::detail::has_left_shift_impl::dont_care>’
BOOST_STATIC_ASSERT_MSG( (boost::has_left_shift<std::ostream,T>::value),
^
make[2]: *** [CMakeFiles/unitTests_parser.dir/build.make:63: CMakeFiles/unitTests_parser.dir/tests/parser/grammar-tests/color_grammar_test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1315: CMakeFiles/unitTests_parser.dir/all] Error 2
make: *** [Makefile:139: all] Error 2
Hi,
can you try to build the defaultConstructors
[1] branch?
Please also report the output of cmake so we now which library versions you use.
[1] https://github.com/alacarte-maps/alacarte/tree/defaultConstructors
defaultConstructors branch outputs the same error.
cmake .. output
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.61.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- unit_test_framework
-- program_options
-- serialization
-- regex
-- iostreams
-- log
-- log_setup
-- chrono
-- date_time
-- atomic
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cairo'
-- Found cairo, version 1.14.6
-- Found CAIRO: /usr/lib64/libcairo.so
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.6.3")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.12")
-- Enabling debug code: 0
-- Default: -Werror
-- Debug: -g
-- Profile: -g -O0 -ftest-coverage -fprofile-arcs -fprofile-values -fvpt -pg
-- Release: -O3 -DNDEBUG
-- Sanitize: -g -fsanitize=thread -fno-omit-frame-pointer
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/17.19.20/alacarte/build
I assume this happens because of the newer boost version. I can't reproduce this locally since I'm still on 1.58, so it is a bit hard to debug. But I added another commit to the defaultConstructors branch. Please try it again.
The
friend std::ostream& operator<< (std::ostream& stream, const Color& color)
{
stream << "Color(" << color.r << "," << color.g << "," << color.b << "," << color.a << ")";
return stream;
}
did the job. The question is: why did it work in the first place?
(Also shouldn't this function be defined outside of color? and the friend
is also redundant)
I can reproduce this on Arch Linux with boost 1.61, master breaks, but @Scheirle 's new branch builds fine.
@Scheirle, :+1: for any additional cleanup you can do while reading through geodata, as mentioned by @SrTobi. :smile:
@phiresky feel free to reopen if the problem still occurs, but I hope we nailed it.