|
| 1 | +pure2-hashable.cpp2:3:27: error: expected ‘;’ at end of member declaration |
| 2 | +In file included from pure2-hashable.cpp:7: |
| 3 | +../../../include/cpp2util.h:10005:47: error: static assertion failed: GCC 11 or higher is required to support variables and type-scope functions that have a 'requires' clause. This includes a type-scope 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10. |
| 4 | +pure2-hashable.cpp2:4:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
| 5 | +pure2-hashable.cpp2:6:42: error: expected ‘;’ at end of member declaration |
| 6 | +In file included from pure2-hashable.cpp:7: |
| 7 | +../../../include/cpp2util.h:10005:47: error: static assertion failed: GCC 11 or higher is required to support variables and type-scope functions that have a 'requires' clause. This includes a type-scope 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10. |
| 8 | +pure2-hashable.cpp2:7:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
| 9 | +pure2-hashable.cpp2:10:53: error: expected ‘;’ at end of member declaration |
| 10 | +In file included from pure2-hashable.cpp:7: |
| 11 | +../../../include/cpp2util.h:10005:47: error: static assertion failed: GCC 11 or higher is required to support variables and type-scope functions that have a 'requires' clause. This includes a type-scope 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10. |
| 12 | +pure2-hashable.cpp2:11:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
| 13 | +pure2-hashable.cpp2:3:1: error: no declaration matches ‘base::base(auto:101&&) requires is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(base::__ct ::h_)>::type>::type, const std::add_const_t&>’ |
| 14 | +pure2-hashable.cpp2:1:7: note: candidates are: ‘constexpr base::base(base&&)’ |
| 15 | +pure2-hashable.cpp2:1:7: note: ‘constexpr base::base(const base&)’ |
| 16 | +pure2-hashable.cpp2:3:13: note: ‘template<class auto:96> base::base(auto:96&&)’ |
| 17 | +pure2-hashable.cpp2:1:7: note: ‘class base’ defined here |
| 18 | +pure2-hashable.cpp2:5:83: error: expected unqualified-id before ‘{’ token |
| 19 | +pure2-hashable.cpp2:6:6: error: no declaration matches ‘base& base::operator=(auto:102&&) requires is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(base::operator=::h_)>::type>::type, const std::add_const_t&>’ |
| 20 | +pure2-hashable.cpp2:1:7: note: candidates are: ‘constexpr base& base::operator=(base&&)’ |
| 21 | +pure2-hashable.cpp2:1:7: note: ‘constexpr base& base::operator=(const base&)’ |
| 22 | +pure2-hashable.cpp2:6:14: note: ‘template<class auto:97> base& base::operator=(auto:97&&)’ |
| 23 | +pure2-hashable.cpp2:1:7: note: ‘class base’ defined here |
| 24 | +pure2-hashable.cpp2:11:1: error: no declaration matches ‘mystruct::mystruct(auto:103&&, auto:104&&, auto:105&&) requires (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(mystruct::__ct ::i_)>::type>::type, const std::add_const_t&>) && (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(mystruct::__ct ::j_)>::type>::type, const std::__cxx11::add_const_t<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&>) && (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(mystruct::__ct ::k_)>::type>::type, const std::add_const_t&>)’ |
| 25 | +pure2-hashable.cpp2:5:7: note: candidates are: ‘mystruct::mystruct(mystruct&&)’ |
| 26 | +pure2-hashable.cpp2:5:7: note: ‘mystruct::mystruct(const mystruct&)’ |
| 27 | +pure2-hashable.cpp2:10:13: note: ‘template<class auto:98, class auto:99, class auto:100> mystruct::mystruct(auto:98&&, auto:99&&, auto:100&&)’ |
| 28 | +pure2-hashable.cpp2:5:7: note: ‘class mystruct’ defined here |
| 29 | +pure2-hashable.cpp2:14:104: error: mixing declarations and function-definitions is forbidden |
| 30 | +pure2-hashable.cpp2:14:107: error: expected constructor, destructor, or type conversion before ‘{’ token |
| 31 | +pure2-hashable.cpp2:15:104: error: expected unqualified-id before ‘,’ token |
| 32 | +pure2-hashable.cpp2:15:107: error: expected constructor, destructor, or type conversion before ‘{’ token |
| 33 | +pure2-hashable.cpp2:16:104: error: expected unqualified-id before ‘,’ token |
| 34 | +pure2-hashable.cpp2:16:107: error: expected constructor, destructor, or type conversion before ‘{’ token |
| 35 | +pure2-hashable.cpp2:16:127: error: expected unqualified-id before ‘{’ token |
0 commit comments