Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Nov 2, 2024 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Nov 2, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant