Compile [2024-11-14 19:53:35 UTC]: fail
"g++-6" -fvisibility-inlines-hidden -std=c++14 -Wall -Wextra -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-6~c++14~warn/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: error: expected '(' before 'constexpr'
if constexpr (
^~~~~~~~~
../boost/parser/detail/text/utf.hpp:32:15: error: 'else' without a previous 'if'
} else if (
^~~~
../boost/parser/detail/text/utf.hpp:33:17: error: 'is_same_v' is not a member of 'std'
std::is_same_v<T, char16_t>
^~~
../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:9: 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: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:37:69: warning: 'nodiscard' attribute directive ignored [-Wattributes]
[[nodiscard]] constexpr subrange next(std::ptrdiff_t n = 1) const
^~~~~
../boost/parser/subrange.hpp:41:69: warning: 'nodiscard' attribute directive ignored [-Wattributes]
[[nodiscard]] constexpr subrange prev(std::ptrdiff_t n = 1) const
^~~~~
../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:10: 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: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:57: 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: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
ref_view(R &) -> ref_view<R>;
^~~~~~~~
../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:120:57: warning: 'nodiscard' attribute directive ignored [-Wattributes]
[[nodiscard]] constexpr auto operator()(R && r) const
^~~~~
../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: error: expected '(' before 'constexpr'
if constexpr (view<T>)
^~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:125:13: error: 'else' without a previous 'if'
else if constexpr (can_ref_view<R>)
^~~~
../boost/parser/detail/text/detail/all_t.hpp:125:21: error: expected '(' before 'constexpr'
else if constexpr (can_ref_view<R>)
^~~~~~~~~
../boost/parser/detail/text/detail/all_t.hpp:127:13: error: 'else' without a previous 'if'
else
^~~~
../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:17: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~
../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'
../libs/parser/test/compile_all_t.cpp:34:27: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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::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 'std::remove_reference<const std::basic_string<char>&>::type {aka const std::basic_string<char>}' to reference of type 'std::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::basic_string<char>]'
constexpr owning_view(R && t) : r_(std::move(t)) {}
^~~~~~~~~~~
../libs/parser/test/compile_all_t.cpp:39:51: error: forming reference to void
auto && result = detail::all(const_str);
^
../libs/parser/test/compile_all_t.cpp:40:27: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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'
../libs/parser/test/compile_all_t.cpp:46:27: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: 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: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:9: 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: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:17: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~
../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 boost::parser::detail::text::detail::owning_view<R>::owning_view(R&&) [with R = char [5]]':
../boost/parser/detail/text/detail/all_t.hpp:128:24: 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)) {}
^
../libs/parser/test/compile_all_t.cpp:87:17: 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: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 'std::remove_reference<const char (&)[5]>::type {aka const char [5]}' to reference of type '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:90:51: error: forming reference to void
auto && result = detail::all(const_str);
^
../libs/parser/test/compile_all_t.cpp:91:27: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:13: error: 'is_same_v' is not a member of 'std'
std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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:23: error: 'is_same_v' is not a member of 'std'
static_assert(std::is_same_v<
^~~
../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'