Apple Clang-17 issues a warning: pack indexing is a C++2c extension #1598
Answered
by
ericniebler
chenghuaWang
asked this question in
Q&A
-
The compiler I'm using is Apple Clang-17. I have set
Could you please advise on how to eliminate this warning? The warning is shown below: In file included from /build-osx/_deps/stdexec-src/include/stdexec/execution.hpp:18:
In file included from /build-osx/_deps/stdexec-src/include/stdexec/__detail/__execution_fwd.hpp:19:
/build-osx/_deps/stdexec-src/include/stdexec/__detail/__meta.hpp:1132:26: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
1132 | return static_cast<_Ts...[_Np] &&>(__ts...[_Np]);
| ^
/Volumes/D/mllm/build-osx/_deps/stdexec-src/include/stdexec/__detail/__meta.hpp:1132:42: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
1132 | return static_cast<_Ts...[_Np] &&>(__ts...[_Np]);
| ^
2 warnings generated. |
Beta Was this translation helpful? Give feedback.
Answered by
ericniebler
Jul 31, 2025
Replies: 1 comment 2 replies
-
can you see if #1600 helps? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
chenghuaWang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you see if #1600 helps?