kfr icon indicating copy to clipboard operation
kfr copied to clipboard

Build fails for LLVM 19 / Windows

Open MarcKamradt opened this issue 1 year ago • 2 comments

It seems the function

    template <size_t index, typename = void,
              KFR_ENABLE_IF(index < 1024 && !compound_type_traits<T>::is_scalar)>
    KFR_MEM_INTRINSIC constexpr void set(csize_t<index>, const value_type& s) CMT_NOEXCEPT
    {
        this->s[index] = s;
    }

does not compile with the latest LLVM. It looks like clang never evaluated it before because of the KFR_ENABLE_IF and they now have changed the behavior and the compilation fails.

MarcKamradt avatar Sep 29 '24 15:09 MarcKamradt

The affected file is include/kfr/simd/vec.hpp. This is a show-stopper for us.

reFX-Mike avatar Oct 05 '24 18:10 reFX-Mike

Fixed in dev branch. Upd: Just pushed to main branch.

dancasarin avatar Oct 05 '24 19:10 dancasarin