Skip to content

Fix build with libc++#19

Open
zifeitong wants to merge 1 commit intoqlibs:mainfrom
zifeitong:libcxx
Open

Fix build with libc++#19
zifeitong wants to merge 1 commit intoqlibs:mainfrom
zifeitong:libcxx

Conversation

@zifeitong
Copy link

@zifeitong zifeitong commented Sep 27, 2025

std::experimental::simd in libc++ is incomplete:

In file included from <source>:1:
/app/raw.githubusercontent.com/qlibs/mph/main/mph:1144:26: error: no member named 'any_of' in namespace 'std::experimental'
 1144 |       std::experimental::any_of(match),
      |                          ^~~~~~
/app/raw.githubusercontent.com/qlibs/mph/main/mph:1145:53: error: no member named 'find_first_set' in namespace 'std::experimental'
 1145 |       result_type(values[index + std::experimental::find_first_set(match)]),
      |                                                     ^~~~~~~~~~~~~~
/app/raw.githubusercontent.com/qlibs/mph/main/mph:1145:75: error: expected ']'
 1145 |       result_type(values[index + std::experimental::find_first_set(match)]),
      |                                                                           ^
/app/raw.githubusercontent.com/qlibs/mph/main/mph:1145:25: note: to match this '['
 1145 |       result_type(values[index + std::experimental::find_first_set(match)]),
      |                         ^

Tests:

std::experimental::simd in libc++ is incomplete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments