https://bugs.kde.org/show_bug.cgi?id=475017
            Bug ID: 475017
           Summary: Fails to build against xsimd 11
    Classification: Applications
           Product: krita
           Version: 5.2.0-rc1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: mehdi.chino...@hotmail.com
  Target Milestone: ---

SUMMARY

Krita fails to build against xsimd-11


STEPS TO REPRODUCE
1. Install/Buiild xsimd 11.
2. patch CMakeLists.txt to find it.
```
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1057,7 +1057,7 @@
 ##
 ## Test for xsimd
 ##
-foreach(xsimd_version 8.1.0 9 10)
+foreach(xsimd_version 8.1.0 9 10 11)
     if(NOT xsimd_FOUND)
         find_package(xsimd ${xsimd_version})
     endif()
```
3. Build against it

OBSERVED RESULT
Failure:
```
[320/3402] Building CXX object
libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp.obj
  FAILED:
libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp.obj
 
  D:\M\msys64\clang64\bin\clang++.exe -DBOOST_ALL_NO_LIB -DIMATH_DLL -DNOMINMAX
-DOPENEXR_DLL -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x50900 -DQT_GUI_LIB -DQT_NO_DEBUG
-DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_SQL_LIB
-DQT_STRICT_ITERATORS -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
-DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB
-DTRANSLATION_DOMAIN=\"krita\" -DUNICODE -DWIN32_LEAN_AND_MEAN -DWINVER=0x0602
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
-D_USE_MATH_DEFINES -D_WIN32_IE=0x0602 -D_WIN32_WINNT=0x0602
-Dkritapigment_EXPORTS -DXSIMD_IMPL=SSE2
-IC:/_/B/src/build-CLANG64/libs/pigment
-IC:/_/B/src/krita-5.2.0-rc1/libs/pigment
-IC:/_/B/src/build-CLANG64/libs/pigment/kritapigment_autogen/include
-IC:/_/B/src/build-CLANG64 -IC:/_/B/src/krita-5.2.0-rc1
-IC:/_/B/src/krita-5.2.0-rc1/winquirks
-IC:/_/B/src/krita-5.2.0-rc1/libs/pigment/resources
-IC:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops
-IC:/_/B/src/build-CLANG64/libs/koplugin
-IC:/_/B/src/krita-5.2.0-rc1/libs/koplugin
-IC:/_/B/src/build-CLANG64/libs/store -IC:/_/B/src/krita-5.2.0-rc1/libs/store
-IC:/_/B/src/build-CLANG64/libs/global -IC:/_/B/src/krita-5.2.0-rc1/libs/global
-IC:/_/B/src/build-CLANG64/libs/version
-IC:/_/B/src/krita-5.2.0-rc1/libs/version
-IC:/_/B/src/build-CLANG64/libs/resources
-IC:/_/B/src/krita-5.2.0-rc1/libs/resources
-IC:/_/B/src/build-CLANG64/libs/command
-IC:/_/B/src/krita-5.2.0-rc1/libs/command
-IC:/_/B/src/krita-5.2.0-rc1/libs/widgetutils/config
-IC:/_/B/src/krita-5.2.0-rc1/libs/widgetutils/xmlgui
-IC:/_/B/src/build-CLANG64/libs/widgetutils
-IC:/_/B/src/krita-5.2.0-rc1/libs/widgetutils
-IC:/_/B/src/build-CLANG64/libs/multiarch
-IC:/_/B/src/krita-5.2.0-rc1/libs/multiarch -isystem
D:/M/msys64/clang64/include/QtCore -isystem
D:/M/msys64/clang64/share/qt5/mkspecs/win32-clang-g++ -isystem
D:/M/msys64/clang64/include/QtConcurrent -isystem
D:/M/msys64/clang64/include/QtGui -isystem
D:/M/msys64/clang64/include/QtWidgets -isystem
D:/M/msys64/clang64/include/QtXml -isystem
D:/M/msys64/clang64/include/KF5/KI18n -isystem D:/M/msys64/clang64/include/KF5
-isystem D:/M/msys64/clang64/include/QtSql -isystem
D:/M/msys64/clang64/include/KF5/KItemViews -isystem
D:/M/msys64/clang64/include/KF5/KConfig -isystem
D:/M/msys64/clang64/include/KF5/KConfigGui -isystem
D:/M/msys64/clang64/include/KF5/KConfigCore -isystem
D:/M/msys64/clang64/include/OpenEXR -isystem D:/M/msys64/clang64/include/Imath
-march=nocona -msahf -mtune=generic -O2 -pipe -fno-operator-names
-Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
-Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self
-Wvla -Wdate-time -fdiagnostics-color=always -fexceptions -O3 -DNDEBUG
-std=gnu++17 -fvisibility=hidden -fvisibility-inlines-hidden 
-Wno-local-type-template-args -Wno-unnamed-type-template-args
-ffp-contract=fast -msse2 -MD -MT
libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp.obj
-MF
libs\pigment\CMakeFiles\kritapigment.dir\KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp.obj.d
-o
libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp.obj
-c
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp
  In file included from
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:11:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:14:
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:261:16:
error: no viable conversion from returned value of type
'batch<as_float_t<batch<int, sse2>>, [...]>' to function return type
'batch<float, [...]>'
    261 |         return xsimd::to_float(xsimd::bitwise_cast<int_v>(data_i >>
24));
        |               
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:55:61:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::fetch_alpha_32<true>' requested here
     55 |         float_v src_alpha = KoStreamedMath<_impl>::template
fetch_alpha_32<src_aligned>(src);
        |                                                             ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:434:38:
note: in instantiation of function template specialization
'AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>::compositeVector<true, true, xsimd::sse2>'
requested here
    434 |                 Compositor::template compositeVector<useMask, true,
_impl>(src,
        |                                      ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:498:9:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>, 4>' requested here
    498 |         genericComposite<useMask, useFlow, Compositor, 4>(params);
        |         ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:233:45:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite32<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>>' requested here
    233 |             KoStreamedMath<_impl>::template genericComposite32<true,
true, AlphaDarkenCompositor32<quint8, quint32, ParamsWrapper> >(params);
        |                                             ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:245:5:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarken32Impl<xsimd::sse2,
KoAlphaDarkenParamsWrapperHard>::composite' requested here
    245 |     KoOptimizedCompositeOpAlphaDarkenHard32(const KoColorSpace *cs)
        |     ^
 
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:25:16:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarkenHard32<>::KoOptimizedCompositeOpAlphaDarkenHard32'
requested here
     25 |     return new
KoOptimizedCompositeOpAlphaDarkenHard32<xsimd::current_arch>(param);
        |                ^
  D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:113:11: note:
candidate constructor (the implicit copy constructor) not viable: no known
conversion from 'batch<as_float_t<batch<int, sse2>>, sse2>' (aka
'batch<batch<float, xsimd::sse2>, xsimd::sse2>') to 'const batch<float, sse2>
&' for 1st argument
    113 |     class batch : public types::simd_register<T, A>, public
types::integral_only_operators<T, A>
        |           ^~~~~
  D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:113:11: note:
candidate constructor (the implicit move constructor) not viable: no known
conversion from 'batch<as_float_t<batch<int, sse2>>, sse2>' (aka
'batch<batch<float, xsimd::sse2>, xsimd::sse2>') to 'batch<float, sse2> &&' for
1st argument
    113 |     class batch : public types::simd_register<T, A>, public
types::integral_only_operators<T, A>
        |           ^~~~~
  D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:126:9: note:
candidate constructor not viable: no known conversion from
'batch<as_float_t<batch<int, sse2>>, sse2>' (aka 'batch<batch<float,
xsimd::sse2>, xsimd::sse2>') to 'float' for 1st argument
    126 |         batch(T val) noexcept;
        |         ^     ~~~~~
  D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:130:9: note:
candidate constructor not viable: no known conversion from
'batch<as_float_t<batch<int, sse2>>, sse2>' (aka 'batch<batch<float,
xsimd::sse2>, xsimd::sse2>') to 'register_type' (aka '__m128') for 1st argument
    130 |         batch(register_type reg) noexcept;
        |         ^     ~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:129:18: note:
explicit constructor is not a candidate
    129 |         explicit batch(batch_bool_type const& b) noexcept;
        |                  ^
  In file included from
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:8:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.h:11:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/KoMultiArchBuildSupport.h:12:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/xsimd.hpp:11:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/config/xsimd_arch.hpp:10:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/config/./xsimd_config.hpp:34:
  In file included from D:/M/msys64/clang64/include/xsimd/xsimd.hpp:66:
  D:/M/msys64/clang64/include/xsimd/types/xsimd_api.hpp:322:16: error: no
matching function for call to 'bitwise_cast'
    322 |         return kernel::bitwise_cast<A>(x, batch<T_out, A> {}, A {});
        |                ^~~~~~~~~~~~~~~~~~~~~~~
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:261:39:
note: in instantiation of function template specialization
'xsimd::bitwise_cast<xsimd::batch<int, xsimd::sse2>, unsigned int,
xsimd::sse2>' requested here
    261 |         return xsimd::to_float(xsimd::bitwise_cast<int_v>(data_i >>
24));
        |                                       ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:55:61:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::fetch_alpha_32<true>' requested here
     55 |         float_v src_alpha = KoStreamedMath<_impl>::template
fetch_alpha_32<src_aligned>(src);
        |                                                             ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:434:38:
note: in instantiation of function template specialization
'AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>::compositeVector<true, true, xsimd::sse2>'
requested here
    434 |                 Compositor::template compositeVector<useMask, true,
_impl>(src,
        |                                      ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:498:9:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>, 4>' requested here
    498 |         genericComposite<useMask, useFlow, Compositor, 4>(params);
        |         ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:233:45:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite32<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>>' requested here
    233 |             KoStreamedMath<_impl>::template genericComposite32<true,
true, AlphaDarkenCompositor32<quint8, quint32, ParamsWrapper> >(params);
        |                                             ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:245:5:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarken32Impl<xsimd::sse2,
KoAlphaDarkenParamsWrapperHard>::composite' requested here
    245 |     KoOptimizedCompositeOpAlphaDarkenHard32(const KoColorSpace *cs)
        |     ^
 
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:25:16:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarkenHard32<>::KoOptimizedCompositeOpAlphaDarkenHard32'
requested here
     25 |     return new
KoOptimizedCompositeOpAlphaDarkenHard32<xsimd::current_arch>(param);
        |                ^
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:404:32:
note: candidate function template not viable: no known conversion from
'batch<xsimd::batch<int, xsimd::sse2>, [...]>' to 'const batch<float, [...]>'
for 2nd argument
    404 |         inline batch<float, A> bitwise_cast(batch<T, A> const& self,
batch<float, A> const&, requires_arch<sse2>) noexcept
        |                                ^                                    
~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:419:33:
note: candidate function template not viable: no known conversion from
'batch<xsimd::batch<int, xsimd::sse2>, [...]>' to 'const batch<double, [...]>'
for 2nd argument
    419 |         inline batch<double, A> bitwise_cast(batch<T, A> const& self,
batch<double, A> const&, requires_arch<sse2>) noexcept
        |                                 ^                                    
~~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:424:33:
note: candidate function template not viable: no known conversion from 'const
batch<unsigned int, [...]>' to 'const batch<float, [...]>' for 1st argument
    424 |         inline batch<double, A> bitwise_cast(batch<float, A> const&
self, batch<double, A> const&, requires_arch<sse2>) noexcept
        |                                 ^           
~~~~~~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:429:32:
note: candidate function template not viable: no known conversion from 'const
batch<unsigned int, [...]>' to 'const batch<double, [...]>' for 1st argument
    429 |         inline batch<float, A> bitwise_cast(batch<double, A> const&
self, batch<float, A> const&, requires_arch<sse2>) noexcept
        |                                ^           
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
D:/M/msys64/clang64/include/xsimd/types/../arch/././generic/xsimd_generic_math.hpp:108:28:
note: candidate template ignored: deduced conflicting types for parameter 'T'
('unsigned int' vs. 'xsimd::batch<int, xsimd::sse2>')
    108 |         inline batch<T, A> bitwise_cast(batch<T, A> const& self,
batch<T, A> const&, requires_arch<generic>) noexcept
        |                            ^
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:409:29:
note: candidate template ignored: requirement
'std::is_integral<xsimd::batch<int, xsimd::sse2>>::value' was not satisfied
[with A = xsimd::sse2, T = unsigned int, Tp = xsimd::batch<int, xsimd::sse2>]
    409 |         inline batch<Tp, A> bitwise_cast(batch<T, A> const& self,
batch<Tp, A> const&, requires_arch<sse2>) noexcept
        |                             ^
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:414:28:
note: candidate template ignored: requirement
'std::is_integral<xsimd::batch<int, xsimd::sse2>>::value' was not satisfied
[with A = xsimd::sse2, T = xsimd::batch<int, xsimd::sse2>]
    414 |         inline batch<T, A> bitwise_cast(batch<float, A> const& self,
batch<T, A> const&, requires_arch<sse2>) noexcept
        |                            ^
  D:/M/msys64/clang64/include/xsimd/types/../arch/./xsimd_sse2.hpp:434:28:
note: candidate template ignored: requirement
'std::is_integral<xsimd::batch<int, xsimd::sse2>>::value' was not satisfied
[with A = xsimd::sse2, T = xsimd::batch<int, xsimd::sse2>]
    434 |         inline batch<T, A> bitwise_cast(batch<double, A> const& self,
batch<T, A> const&, requires_arch<sse2>) noexcept
        |                            ^
  In file included from
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:8:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.h:11:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/KoMultiArchBuildSupport.h:12:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/xsimd.hpp:11:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/config/xsimd_arch.hpp:10:
  In file included from
C:/_/B/src/krita-5.2.0-rc1/libs/multiarch/xsimd_extensions/config/./xsimd_config.hpp:34:
  In file included from D:/M/msys64/clang64/include/xsimd/xsimd.hpp:61:
  In file included from
D:/M/msys64/clang64/include/xsimd/types/xsimd_batch.hpp:493:
  D:/M/msys64/clang64/include/xsimd/types/./xsimd_traits.hpp:71:27: error:
static assertion failed due to requirement '!sse2::supported() ||
xsimd::has_simd_register<xsimd::batch<int, xsimd::sse2>, xsimd::sse2>::value':
usage of batch type with unsupported type
     71 |             static_assert(!A::supported() ||
xsimd::has_simd_register<T, A>::value,
        |                          
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  D:/M/msys64/clang64/include/xsimd/types/./xsimd_traits.hpp:91:19: note: in
instantiation of template class
'xsimd::detail::static_check_supported_config_emitter<xsimd::batch<int,
xsimd::sse2>, xsimd::sse2>' requested here
     91 |             (void)static_check_supported_config_emitter<T, A>();
        |                   ^
  D:/M/msys64/clang64/include/xsimd/types/xsimd_api.hpp:321:17: note: in
instantiation of function template specialization
'xsimd::detail::static_check_supported_config<xsimd::batch<int, xsimd::sse2>,
xsimd::sse2>' requested here
    321 |         detail::static_check_supported_config<T_out, A>();
        |                 ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:261:39:
note: in instantiation of function template specialization
'xsimd::bitwise_cast<xsimd::batch<int, xsimd::sse2>, unsigned int,
xsimd::sse2>' requested here
    261 |         return xsimd::to_float(xsimd::bitwise_cast<int_v>(data_i >>
24));
        |                                       ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:55:61:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::fetch_alpha_32<true>' requested here
     55 |         float_v src_alpha = KoStreamedMath<_impl>::template
fetch_alpha_32<src_aligned>(src);
        |                                                             ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:434:38:
note: in instantiation of function template specialization
'AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>::compositeVector<true, true, xsimd::sse2>'
requested here
    434 |                 Compositor::template compositeVector<useMask, true,
_impl>(src,
        |                                      ^
  C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoStreamedMath.h:498:9:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>, 4>' requested here
    498 |         genericComposite<useMask, useFlow, Compositor, 4>(params);
        |         ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:233:45:
note: in instantiation of function template specialization
'KoStreamedMath<xsimd::sse2>::genericComposite32<true, true,
AlphaDarkenCompositor32<unsigned char, unsigned int,
KoAlphaDarkenParamsWrapperHard>>' requested here
    233 |             KoStreamedMath<_impl>::template genericComposite32<true,
true, AlphaDarkenCompositor32<quint8, quint32, ParamsWrapper> >(params);
        |                                             ^
 
C:/_/B/src/krita-5.2.0-rc1/libs/pigment/compositeops/KoOptimizedCompositeOpAlphaDarken32.h:245:5:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarken32Impl<xsimd::sse2,
KoAlphaDarkenParamsWrapperHard>::composite' requested here
    245 |     KoOptimizedCompositeOpAlphaDarkenHard32(const KoColorSpace *cs)
        |     ^
 
C:/_/B/src/build-CLANG64/libs/pigment/KoOptimizedCompositeOpFactoryPerArch_SSE2.cpp:25:16:
note: in instantiation of member function
'KoOptimizedCompositeOpAlphaDarkenHard32<>::KoOptimizedCompositeOpAlphaDarkenHard32'
requested here
     25 |     return new
KoOptimizedCompositeOpAlphaDarkenHard32<xsimd::current_arch>(param);
        |                ^
``


EXPECTED RESULT
Success

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.10

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to