[Bug 263775] devel/qcoro: fix build with libc++

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 4 20:13:23 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263775

Adriaan de Groot <adridg at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adridg at freebsd.org

--- Comment #1 from Adriaan de Groot <adridg at freebsd.org> ---
This one is a little peculiar, because (a) we're not Apple Clang (b) the
relevant concepts can be found in the clang headers on FreeBSD. Sure, this is
an upstream commit, but our clang deals with concepts fine:

```
[adridg at beastie /tmp]$ c++ -std=c++20 t.cc
t.cc:14:3: error: no matching function for call to 'then'
  then(1);
  ^~~~
t.cc:5:6: note: candidate template ignored: constraints not satisfied [with T =
int]
auto then(T && c)
     ^
t.cc:4:16: note: because 'int' does not satisfy 'invocable'
requires (std::invocable<T>)
```

So the actual build failure should be examined more closely. Maybe 12.3 has an
older clang?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list