On Thu, 23 Feb 2023 at 08:54, Matthias Kretz via Libstdc++ <libstd...@gcc.gnu.org> wrote: > > > > Clang does not support __attribute__ on lambdas. Therefore, only set > _GLIBCXX_SIMD_ALWAYS_INLINE_LAMBDA if __clang__ is not defined.
OK for all branches. > Signed-off-by: Matthias Kretz <m.kr...@gsi.de> > > libstdc++-v3/ChangeLog: > > PR libstdc++/108030 > * include/experimental/bits/simd_detail.h > (_GLIBCXX_SIMD_ALWAYS_INLINE_LAMBDA): Define as empty for > __clang__. > --- > libstdc++-v3/include/experimental/bits/simd_detail.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > > -- > ────────────────────────────────────────────────────────────────────────── > Dr. Matthias Kretz https://mattkretz.github.io > GSI Helmholtz Centre for Heavy Ion Research https://gsi.de > stdₓ::simd > ──────────────────────────────────────────────────────────────────────────