You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-requires-clause-in-forward-declaration.cpp.output
In file included from pure2-bugfix-for-requires-clause-in-forward-declaration.cpp:7:
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
8
pure2-bugfix-for-requires-clause-in-forward-declaration.cpp2:4:1: note: in expansion of macro ‘CPP2_REQUIRES_’
Copy file name to clipboardExpand all lines: regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-ufcs-arguments.cpp.output
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@ pure2-bugfix-for-ufcs-arguments.cpp2:74:39: error: expected ‘;’ at end of me
6
6
In file included from pure2-bugfix-for-ufcs-arguments.cpp:7:
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
8
pure2-bugfix-for-ufcs-arguments.cpp2:75:1: note: in expansion of macro ‘CPP2_REQUIRES_’
Copy file name to clipboardExpand all lines: regression-tests/test-results/gcc-10-c++20/pure2-hashable.cpp.output
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,21 @@ pure2-hashable.cpp2:10:53: error: expected ‘;’ at end of member declaration
10
10
In file included from pure2-hashable.cpp:7:
11
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
12
pure2-hashable.cpp2:11:1: note: in expansion of macro ‘CPP2_REQUIRES_’
Copy file name to clipboardExpand all lines: regression-tests/test-results/gcc-10-c++20/pure2-last-use.cpp.output
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -67,40 +67,40 @@ pure2-last-use.cpp2:983:43: error: expected ‘;’ at end of member declaration
67
67
In file included from pure2-last-use.cpp:7:
68
68
../../../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.
69
69
pure2-last-use.cpp2:984:1: note: in expansion of macro ‘CPP2_REQUIRES_’
0 commit comments