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

error: static assertion failed due to requirement 'is_arithmetic<rack::simd::Vector<float, 4>>::value' #793

Closed
yurivict opened this issue Jan 13, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@yurivict
Copy link

Version

24.12

Plugin type

Native / JACK

OS

FreeBSD 14.2

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 /usr/ports/audio/cardinal/work/cardinal-24.12/src/Rack/include/rack.hpp:22:
In file included from /usr/ports/audio/cardinal/work/cardinal-24.12/include/common.hpp:31:
In file included from /usr/ports/audio/cardinal/work/cardinal-24.12/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/PatchSet/PatchMaster.cpp
Compiling MindMeldModular/src/PatchSet/PatchMasterBlank.cpp
Compiling MindMeldModular/src/PatchSet/RouteMaster.cpp
1 error generated.

clang-15, clang-18

@dromer dromer added the duplicate This issue or pull request already exists label Jan 13, 2025
@dromer
Copy link
Collaborator

dromer commented Jan 13, 2025

This is a duplicate of what you already reported in November: #726

@dromer dromer closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants