|
1 | 1 | In file included from pure2-print.cpp:7: |
2 | 2 | ../../../include/cpp2util.h:10005:33: error: expected unqualified-id before ‘static_assert’ |
3 | 3 | pure2-print.cpp2:7:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
4 | | -pure2-print.cpp2:63:59: error: expected ‘;’ at end of member declaration |
| 4 | +pure2-print.cpp2:65:59: error: expected ‘;’ at end of member declaration |
5 | 5 | In file included from pure2-print.cpp:7: |
6 | 6 | ../../../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. |
7 | | -pure2-print.cpp2:64:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
| 7 | +pure2-print.cpp2:66:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
8 | 8 | ../../../include/cpp2util.h:10005:33: error: expected initializer before ‘static_assert’ |
9 | | -pure2-print.cpp2:89:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
| 9 | +pure2-print.cpp2:94:1: note: in expansion of macro ‘CPP2_REQUIRES_’ |
10 | 10 | pure2-print.cpp2:6:29: error: ‘constexpr const T outer::object_alias’ is not a static data member of ‘class outer’ |
11 | 11 | pure2-print.cpp2:6:36: error: template definition of non-template ‘constexpr const T outer::object_alias’ |
12 | | -pure2-print.cpp2:63:14: error: no declaration matches ‘void outer::mytype::variadic(const auto:89& ...) requires (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(outer::mytype::variadic::x)>::type>::type, int> && ...)’ |
13 | | -pure2-print.cpp2:63:29: note: candidate is: ‘template<class ... auto:80> static void outer::mytype::variadic(const auto:80& ...)’ |
| 12 | +pure2-print.cpp2:65:14: error: no declaration matches ‘void outer::mytype::variadic(const auto:89& ...) requires (is_convertible_v<typename std::remove_cv<typename std::remove_reference<decltype(outer::mytype::variadic::x)>::type>::type, int> && ...)’ |
| 13 | +pure2-print.cpp2:65:29: note: candidate is: ‘template<class ... auto:80> static void outer::mytype::variadic(const auto:80& ...)’ |
14 | 14 | pure2-print.cpp2:8:19: note: ‘class outer::mytype’ defined here |
15 | | -pure2-print.cpp2:88:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof (Args)..., 0)’ |
16 | | -pure2-print.cpp2:88:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof (Args)..., 0)’ |
| 15 | +pure2-print.cpp2:93:37: error: no declaration matches ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof (Args)..., 0)’ |
| 16 | +pure2-print.cpp2:93:37: note: no functions named ‘void outer::print(std::ostream&, const Args& ...) requires cpp2::cmp_greater_eq(sizeof (Args)..., 0)’ |
17 | 17 | pure2-print.cpp2:4:7: note: ‘class outer’ defined here |
0 commit comments