Compile [2024-11-15 21:14:39 UTC]: fail
"g++-7" -fvisibility-inlines-hidden -std=c++14 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_CHARCONV_DYN_LINK=1 -DBOOST_CHARCONV_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/charconv/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/parser/test/compile_all_t.test/gcc-7~c++14/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/compile_all_t.o" "../libs/parser/test/compile_all_t.cpp"
In file included from ../boost/parser/detail/text/concepts.hpp:10:0,
from ../boost/parser/detail/text/detail/algorithm.hpp:9,
from ../boost/parser/subrange.hpp:10,
from ../boost/parser/config.hpp:92,
from ../libs/parser/test/compile_all_t.cpp:9:
../boost/parser/detail/text/utf.hpp: In function 'constexpr boost::parser::detail::text::format boost::parser::detail::text::detail::format_of()':
../boost/parser/detail/text/utf.hpp:25:16: warning: 'if constexpr' only available with -std=c++1z or -std=gnu++1z
if constexpr (
^~~~~~~~~
../boost/parser/detail/text/utf.hpp:26:22: error: 'is_same_v' is not a member of 'std'
std::is_same_v<T, char>
^~~~~~~~~
../boost/parser/detail/text/utf.hpp:26:22: note: suggested alternative: 'is_same'
std::is_same_v<T, char>
^~~~~~~~~
is_same
../boost/parser/detail/text/utf.hpp:26:33: error: expected primary-expression before ',' token
std::is_same_v<T, char>
^
../boost/parser/detail/text/utf.hpp:26:35: error: expected primary-expression before 'char'
std::is_same_v<T, char>
^~~~
../boost/parser/detail/text/utf.hpp:26:35: error: expected ')' before 'char'
../boost/parser/detail/text/utf.hpp:33:22: error: 'is_same_v' is not a member of 'std'
std::is_same_v<T, char16_t>
^~~~~~~~~
../boost/parser/detail/text/utf.hpp:33:22: note: suggested alternative: 'is_same'
std::is_same_v<T, char16_t>
^~~~~~~~~
is_same
../boost/parser/detail/text/utf.hpp:33:33: error: expected primary-expression before ',' token
std::is_same_v<T, char16_t>
^
../boost/parser/detail/text/utf.hpp:33:35: error: expected primary-expression before 'char16_t'
std::is_same_v<T, char16_t>
^~~~~~~~
../boost/parser/detail/text/utf.hpp:33:35: error: expected ')' before 'char16_t'
In file included from ../boost/parser/detail/text/detail/algorithm.hpp:9:0,
from ../boost/parser/subrange.hpp:10,
from ../boost/parser/config.hpp:92,
from ../libs/parser/test/compile_all_t.cpp:9:
../boost/parser/detail/text/concepts.hpp: At global scope:
../boost/parser/detail/text/concepts.hpp:232:14: error: 'is_same_v' is not a member of 'std'
std::is_same_v<T, char16_t> || std::is_same_v<T, char32_t> ||
^~~~~~~~~
../boost/parser/detail/text/concepts.hpp:232:14: note: suggested alternative: 'is_same'
std::is_same_v<T, char16_t> || std::is_same_v<T, char32_t> ||
^~~~~~~~~
is_same
../boost/parser/detail/text/concepts.hpp:232:25: error: expected primary-expression before ',' token
std::is_same_v<T, char16_t> || std::is_same_v<T, char32_t> ||
^
In file included from ../boost/parser/config.hpp:92:0,
from ../libs/parser/test/compile_all_t.cpp:9:
../boost/parser/subrange.hpp:65:33: warning: 'no_unique_address' attribute directive ignored [-Wattributes]
[[no_unique_address]] S last_;
^~~~~
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp:49:15: error: 'is_array_v' is not a member of 'std'
!std::is_array_v<std::remove_reference_t<R>> &&
^~~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:49:15: note: suggested alternative: 'is_array'
!std::is_array_v<std::remove_reference_t<R>> &&
^~~~~~~~~~
is_array
../boost/parser/detail/text/detail/all_t.hpp:49:51: error: expected primary-expression before '>' token
!std::is_array_v<std::remove_reference_t<R>> &&
^~
../boost/parser/detail/text/detail/all_t.hpp:49:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
!std::is_array_v<std::remove_reference_t<R>> &&
^
../boost/parser/detail/text/detail/all_t.hpp:50:9: error: expected identifier before '!' token
!is_std_array_v<std::remove_reference_t<R>>
^
../boost/parser/detail/text/detail/all_t.hpp:50:9: error: expected ';' before '!' token
../boost/parser/detail/text/detail/all_t.hpp:56:62: error: 'is_object_v' is not a member of 'std'
typename Enable = std::enable_if_t<range_<R> && std::is_object_v<R>>>
^~~~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:56:62: note: suggested alternative: 'is_object'
typename Enable = std::enable_if_t<range_<R> && std::is_object_v<R>>>
^~~~~~~~~~~
is_object
../boost/parser/detail/text/detail/all_t.hpp:56:32: error: parse error in template argument list
typename Enable = std::enable_if_t<range_<R> && std::is_object_v<R>>>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:56:77: error: expected unqualified-id before '>' token
typename Enable = std::enable_if_t<range_<R> && std::is_object_v<R>>>
^
../boost/parser/detail/text/detail/all_t.hpp:86:22: error: 'ref_view' does not name a type; did you mean 'view'?
ref_view(R &) -> ref_view<R>;
^~~~~~~~
view
../boost/parser/detail/text/detail/all_t.hpp:86:30: error: expected constructor, destructor, or type conversion before '<' token
ref_view(R &) -> ref_view<R>;
^
../boost/parser/detail/text/detail/all_t.hpp: In member function 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const':
../boost/parser/detail/text/detail/all_t.hpp:123:16: warning: 'if constexpr' only available with -std=c++1z or -std=gnu++1z
if constexpr (view<T>)
^~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:125:21: warning: 'if constexpr' only available with -std=c++1z or -std=gnu++1z
else if constexpr (can_ref_view<R>)
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp: In function 'void compile_all_t()':
../libs/parser/test/compile_all_t.cpp:26:38: error: missing template arguments before '(' token
BOOST_PARSER_SUBRANGE(const_str.begin(), const_str.end()));
^
../libs/parser/test/compile_all_t.cpp:28:22: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:28:22: note: suggested alternative: 'is_same'
std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:29:21: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:29:21: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:29:21: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:29:21: error: expected ')' before 'decltype'
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = std::__cxx11::basic_string<char>&; Enable = void]':
../libs/parser/test/compile_all_t.cpp:33:45: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: inconsistent deduction for auto return type: 'std::__cxx11::basic_string<char>' and then 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >'
return owning_view<T>(std::move(r));
^
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >)'
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iterator:64,
from ../boost/parser/config.hpp:12,
from ../libs/parser/test/compile_all_t.cpp:9:
/usr/include/c++/7/bits/basic_string.h:604:9: note: candidate: template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)
basic_string(_InputIterator __beg, _InputIterator __end,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:604:9: note: template argument deduction/substitution failed:
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp:128:51: note: candidate expects 3 arguments, 1 provided
return owning_view<T>(std::move(r));
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iterator:64,
from ../boost/parser/config.hpp:12,
from ../libs/parser/test/compile_all_t.cpp:9:
/usr/include/c++/7/bits/basic_string.h:566:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(basic_string&& __str, const _Alloc& __a)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:566:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:562:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const basic_string& __str, const _Alloc& __a)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:562:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:558:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:558:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'std::initializer_list<char>'
/usr/include/c++/7/bits/basic_string.h:531:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(basic_string&& __str) noexcept
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:531:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'std::__cxx11::basic_string<char>&&'
/usr/include/c++/7/bits/basic_string.h:519:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:519:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:509:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:509:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const char*'
/usr/include/c++/7/bits/basic_string.h:499:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const _CharT* __s, size_type __n,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:499:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:481:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:481:7: note: candidate expects 4 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:465:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:465:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:450:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:450:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:437:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const basic_string& __str)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:437:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const std::__cxx11::basic_string<char>&'
/usr/include/c++/7/bits/basic_string.h:429:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:429:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const std::allocator<char>&'
/usr/include/c++/7/bits/basic_string.h:420:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string()
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:420:7: note: candidate expects 0 arguments, 1 provided
../libs/parser/test/compile_all_t.cpp:34:32: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:34:32: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:35:27: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:35:27: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:35:27: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:35:27: error: expected ')' before 'decltype'
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = const std::__cxx11::basic_string<char>&; Enable = void]':
../libs/parser/test/compile_all_t.cpp:39:51: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:24: error: binding reference of type 'std::__cxx11::basic_string<char>&&' to 'std::remove_reference<const std::__cxx11::basic_string<char>&>::type {aka const std::__cxx11::basic_string<char>}' discards qualifiers
return owning_view<T>(std::move(r));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:92:19: note: initializing argument 1 of 'constexpr boost::parser::detail::text::detail::owning_view<R>::owning_view(R&&) [with R = std::__cxx11::basic_string<char>]'
constexpr owning_view(R && t) : r_(std::move(t)) {}
^~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:40:32: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:40:32: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:41:27: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:41:27: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:41:27: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:41:27: error: expected ')' before 'decltype'
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = std::__cxx11::basic_string<char>; Enable = void]':
../libs/parser/test/compile_all_t.cpp:45:55: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: inconsistent deduction for auto return type: 'std::__cxx11::basic_string<char>' and then 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >'
return owning_view<T>(std::move(r));
^
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >)'
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iterator:64,
from ../boost/parser/config.hpp:12,
from ../libs/parser/test/compile_all_t.cpp:9:
/usr/include/c++/7/bits/basic_string.h:604:9: note: candidate: template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&)
basic_string(_InputIterator __beg, _InputIterator __end,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:604:9: note: template argument deduction/substitution failed:
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp:128:51: note: candidate expects 3 arguments, 1 provided
return owning_view<T>(std::move(r));
^
In file included from /usr/include/c++/7/string:52:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iterator:64,
from ../boost/parser/config.hpp:12,
from ../libs/parser/test/compile_all_t.cpp:9:
/usr/include/c++/7/bits/basic_string.h:566:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(basic_string&& __str, const _Alloc& __a)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:566:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:562:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const basic_string& __str, const _Alloc& __a)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:562:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:558:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:558:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'std::initializer_list<char>'
/usr/include/c++/7/bits/basic_string.h:531:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(basic_string&& __str) noexcept
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:531:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'std::__cxx11::basic_string<char>&&'
/usr/include/c++/7/bits/basic_string.h:519:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:519:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:509:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:509:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const char*'
/usr/include/c++/7/bits/basic_string.h:499:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const _CharT* __s, size_type __n,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:499:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:481:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:481:7: note: candidate expects 4 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:465:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:465:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:450:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
basic_string(const basic_string& __str, size_type __pos,
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:450:7: note: candidate expects 3 arguments, 1 provided
/usr/include/c++/7/bits/basic_string.h:437:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const basic_string& __str)
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:437:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const std::__cxx11::basic_string<char>&'
/usr/include/c++/7/bits/basic_string.h:429:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:429:7: note: no known conversion for argument 1 from 'boost::parser::detail::text::detail::owning_view<std::__cxx11::basic_string<char> >' to 'const std::allocator<char>&'
/usr/include/c++/7/bits/basic_string.h:420:7: note: candidate: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
basic_string()
^~~~~~~~~~~~
/usr/include/c++/7/bits/basic_string.h:420:7: note: candidate expects 0 arguments, 1 provided
../libs/parser/test/compile_all_t.cpp:46:32: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:46:32: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:47:27: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:47:27: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:47:27: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:47:27: error: expected ')' before 'decltype'
../libs/parser/test/compile_all_t.cpp:51:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:51:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = boost::parser::subrange<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; Enable = void]':
../boost/parser/detail/text/detail/all_t.hpp:139:31: required by substitution of 'template<class R> using all_t = decltype (boost::parser::detail::text::detail::all(declval<R>())) [with R = boost::parser::subrange<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]'
../libs/parser/test/compile_all_t.cpp:53:76: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: inconsistent deduction for auto return type: 'boost::parser::subrange<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >' and then 'boost::parser::detail::text::detail::owning_view<boost::parser::subrange<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >'
return owning_view<T>(std::move(r));
^
../libs/parser/test/compile_all_t.cpp:53:78: error: expected primary-expression before ',' token
BOOST_PARSER_SUBRANGE<decltype(const_str.begin())>>,
^
In file included from ../libs/parser/test/compile_all_t.cpp:9:0:
../boost/parser/config.hpp:93:35: error: expected string-literal before 'boost'
# define BOOST_PARSER_SUBRANGE boost::parser::subrange
^
../libs/parser/test/compile_all_t.cpp:54:23: note: in expansion of macro 'BOOST_PARSER_SUBRANGE'
BOOST_PARSER_SUBRANGE<decltype(const_str.begin())>>);
^~~~~~~~~~~~~~~~~~~~~
../boost/parser/config.hpp:93:35: error: expected ')' before 'boost'
# define BOOST_PARSER_SUBRANGE boost::parser::subrange
^
../libs/parser/test/compile_all_t.cpp:54:23: note: in expansion of macro 'BOOST_PARSER_SUBRANGE'
BOOST_PARSER_SUBRANGE<decltype(const_str.begin())>>);
^~~~~~~~~~~~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:56:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:56:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:57:51: error: expected primary-expression before ',' token
detail::all_t<std::string &>,
^
../libs/parser/test/compile_all_t.cpp:58:23: error: expected string-literal before 'detail'
detail::ref_view<std::string>>);
^~~~~~
../libs/parser/test/compile_all_t.cpp:58:23: error: expected ')' before 'detail'
../libs/parser/test/compile_all_t.cpp:60:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:60:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:61:57: error: expected primary-expression before ',' token
detail::all_t<std::string const &>,
^
../libs/parser/test/compile_all_t.cpp:62:23: error: expected string-literal before 'detail'
detail::ref_view<std::string const>>);
^~~~~~
../libs/parser/test/compile_all_t.cpp:62:23: error: expected ')' before 'detail'
../libs/parser/test/compile_all_t.cpp:64:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:64:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:65:52: error: expected primary-expression before ',' token
detail::all_t<std::string &&>,
^
../libs/parser/test/compile_all_t.cpp:66:23: error: expected string-literal before 'detail'
detail::owning_view<std::string>>);
^~~~~~
../libs/parser/test/compile_all_t.cpp:66:23: error: expected ')' before 'detail'
../libs/parser/test/compile_all_t.cpp:74:28: error: 'is_object_v' is not a member of 'std'
static_assert(std::is_object_v<char[5]>);
^~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:74:28: note: suggested alternative: 'is_object'
static_assert(std::is_object_v<char[5]>);
^~~~~~~~~~~
is_object
../libs/parser/test/compile_all_t.cpp:74:40: error: expected primary-expression before 'char'
static_assert(std::is_object_v<char[5]>);
^~~~
../libs/parser/test/compile_all_t.cpp:74:40: error: expected ',' before 'char'
../libs/parser/test/compile_all_t.cpp:74:40: error: expected string-literal before 'char'
../libs/parser/test/compile_all_t.cpp:74:40: error: expected ')' before 'char'
../libs/parser/test/compile_all_t.cpp:75:17: error: 'ref_view' is not a member of 'boost::parser::detail::text::detail'
detail::ref_view<char[5]> ref_view_(str);
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:75:17: note: suggested alternative: 'can_ref_view'
detail::ref_view<char[5]> ref_view_(str);
^~~~~~~~
can_ref_view
../libs/parser/test/compile_all_t.cpp:75:26: error: expected primary-expression before 'char'
detail::ref_view<char[5]> ref_view_(str);
^~~~
../libs/parser/test/compile_all_t.cpp:77:63: error: missing template arguments before '(' token
auto && result = detail::all(BOOST_PARSER_SUBRANGE(
^
../libs/parser/test/compile_all_t.cpp:80:22: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:80:22: note: suggested alternative: 'is_same'
std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:81:21: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:81:21: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:81:21: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:81:21: error: expected ')' before 'decltype'
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = char (&)[5]; Enable = void]':
../libs/parser/test/compile_all_t.cpp:85:45: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: inconsistent deduction for auto return type: 'char*' and then 'boost::parser::detail::text::detail::owning_view<char [5]>'
return owning_view<T>(std::move(r));
^
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr boost::parser::detail::text::detail::owning_view<R>::owning_view(R&&) [with R = char [5]]':
../boost/parser/detail/text/detail/all_t.hpp:128:51: required from 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = char (&)[5]; Enable = void]'
../libs/parser/test/compile_all_t.cpp:85:45: required from here
../boost/parser/detail/text/detail/all_t.hpp:92:56: error: array used as initializer
constexpr owning_view(R && t) : r_(std::move(t)) {}
^
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = char (&)[5]; Enable = void]':
../libs/parser/test/compile_all_t.cpp:85:45: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: cannot convert 'boost::parser::detail::text::detail::owning_view<char [5]>((* & std::move<char (&)[5]>((* & r))))' from type 'boost::parser::detail::text::detail::owning_view<char [5]>' to type 'char*'
return owning_view<T>(std::move(r));
^
../libs/parser/test/compile_all_t.cpp:87:22: error: 'is_same_v' is not a member of 'std'
std::is_same_v<decltype(result), detail::ref_view<char[5]> &&>);
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:87:22: note: suggested alternative: 'is_same'
std::is_same_v<decltype(result), detail::ref_view<char[5]> &&>);
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:87:32: error: expected primary-expression before 'decltype'
std::is_same_v<decltype(result), detail::ref_view<char[5]> &&>);
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:87:32: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:87:32: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:87:32: error: expected ')' before 'decltype'
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = const char (&)[5]; Enable = void]':
../libs/parser/test/compile_all_t.cpp:90:51: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:24: error: binding reference of type 'char (&&)[5]' to 'std::remove_reference<const char (&)[5]>::type {aka const char [5]}' discards qualifiers
return owning_view<T>(std::move(r));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:92:19: note: initializing argument 1 of 'constexpr boost::parser::detail::text::detail::owning_view<R>::owning_view(R&&) [with R = char [5]]'
constexpr owning_view(R && t) : r_(std::move(t)) {}
^~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:91:32: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:91:32: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:92:27: error: expected primary-expression before 'decltype'
decltype(result),
^~~~~~~~
../libs/parser/test/compile_all_t.cpp:92:27: error: expected ',' before 'decltype'
../libs/parser/test/compile_all_t.cpp:92:27: error: expected string-literal before 'decltype'
../libs/parser/test/compile_all_t.cpp:92:27: error: expected ')' before 'decltype'
../libs/parser/test/compile_all_t.cpp:97:18: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:97:18: note: suggested alternative: 'is_same'
std::is_same_v<
^~~~~~~~~
is_same
In file included from ../libs/parser/test/compile_all_t.cpp:10:0:
../boost/parser/detail/text/detail/all_t.hpp: In instantiation of 'constexpr auto boost::parser::detail::text::detail::all_impl::operator()(R&&) const [with R = boost::parser::subrange<const char*>; Enable = void]':
../boost/parser/detail/text/detail/all_t.hpp:139:31: required by substitution of 'template<class R> using all_t = decltype (boost::parser::detail::text::detail::all(declval<R>())) [with R = boost::parser::subrange<const char*>]'
../libs/parser/test/compile_all_t.cpp:99:74: required from here
../boost/parser/detail/text/detail/all_t.hpp:128:51: error: inconsistent deduction for auto return type: 'boost::parser::subrange<const char*>' and then 'boost::parser::detail::text::detail::owning_view<boost::parser::subrange<const char*> >'
return owning_view<T>(std::move(r));
^
../libs/parser/test/compile_all_t.cpp:99:76: error: expected primary-expression before ',' token
BOOST_PARSER_SUBRANGE<decltype(std::begin(const_str))>>,
^
In file included from ../libs/parser/test/compile_all_t.cpp:9:0:
../boost/parser/config.hpp:93:35: error: expected string-literal before 'boost'
# define BOOST_PARSER_SUBRANGE boost::parser::subrange
^
../libs/parser/test/compile_all_t.cpp:100:17: note: in expansion of macro 'BOOST_PARSER_SUBRANGE'
BOOST_PARSER_SUBRANGE<decltype(std::begin(const_str))>>);
^~~~~~~~~~~~~~~~~~~~~
../boost/parser/config.hpp:93:35: error: expected ')' before 'boost'
# define BOOST_PARSER_SUBRANGE boost::parser::subrange
^
../libs/parser/test/compile_all_t.cpp:100:17: note: in expansion of macro 'BOOST_PARSER_SUBRANGE'
BOOST_PARSER_SUBRANGE<decltype(std::begin(const_str))>>);
^~~~~~~~~~~~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:102:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:102:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:103:48: error: expected primary-expression before ',' token
detail::all_t<char(&)[5]>,
^
../libs/parser/test/compile_all_t.cpp:104:23: error: expected string-literal before 'detail'
detail::ref_view<char[5]>>);
^~~~~~
../libs/parser/test/compile_all_t.cpp:104:23: error: expected ')' before 'detail'
../libs/parser/test/compile_all_t.cpp:106:28: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~~~~~~~
../libs/parser/test/compile_all_t.cpp:106:28: note: suggested alternative: 'is_same'
static_assert(std::is_same_v<
^~~~~~~~~
is_same
../libs/parser/test/compile_all_t.cpp:107:54: error: expected primary-expression before ',' token
detail::all_t<char const(&)[5]>,
^
../libs/parser/test/compile_all_t.cpp:108:23: error: expected string-literal before 'detail'
detail::ref_view<char const[5]>>);
^~~~~~
../libs/parser/test/compile_all_t.cpp:108:23: error: expected ')' before 'detail'