Skip to content

Build fails with clang-19: error: static assertion failed due to requirement 'is_arithmetic<rack::simd::Vector<float, 4>>::value' #726

@yurivict

Description

@yurivict

Version

24.09

Plugin type

Native / JACK

OS

FreeBSD 14.1

DAW / Host (if applicable)

No response

Description

In file included from MindMeldModular/src/MixMaster/AuxExpander.cpp:9:
In file included from MindMeldModular/src/MixMaster/MixerWidgets.hpp:11:
In file included from MindMeldModular/src/MixMaster/MixerMenus.hpp:10:
In file included from MindMeldModular/src/MixMaster/MixerCommon.hpp:10:
In file included from MindMeldModular/src/MixMaster/../MindMeldModular.hpp:10:
In file included from /wrkdirs/usr/ports/audio/cardinal/work/cardinal-24.09/src/Rack/include/rack.hpp:22:
In file included from /wrkdirs/usr/ports/audio/cardinal/work/cardinal-24.09/include/common.hpp:31:
In file included from /wrkdirs/usr/ports/audio/cardinal/work/cardinal-24.09/src/Rack/include/common.hpp:10:
In file included from /usr/include/c++/v1/cmath:316:
In file included from /usr/include/c++/v1/__math/hypot.h:15:
In file included from /usr/include/c++/v1/__math/exponential_functions.h:17:
/usr/include/c++/v1/__type_traits/promote.h:32:3: error: static assertion failed due to requirement 'is_arithmetic<rack::simd::Vector<float, 4>>::value'
  static_assert((is_arithmetic<_Args>::value && ...));
  ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/complex:1110:47: note: in instantiation of template class 'std::__promote<rack::simd::Vector<float, 4>, int>' requested here
inline _LIBCPP_HIDE_FROM_ABI complex<typename __promote<_Tp, _Up>::type> pow(const complex<_Tp>& __x, const _Up& __y) {
                                              ^
MindMeldModular/src/MixMaster/AuxExpander.cpp:612:19: note: while substituting deduced template arguments into function template 'pow' [with _Tp = rack::simd::Vector<float, 4>, _Up = int, $2 = (no value)]
                                globalSends = simd::pow<simd::float_4>(globalSends, GlobalConst::globalAuxSendScalingExponent);
                                              ^
Compiling MindMeldModular/src/MixMaster/MixMaster.cpp
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions