Summary: | media-sound/audacity-3.3.3: RealtimeEffectState.cpp:307:22: error: no viable constructor or deduction guide for deduction of template arguments of 'owner_less' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | aloneer0 |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ezzieyguywuf, richard |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
patch |
Description
aloneer0
2023-06-13 14:36:18 UTC
Created attachment 863774 [details]
build log
/var/tmp/portage/media-sound/audacity-3.2.5-r1/work/audacity-Audacity-3.2.5/src/effects/RealtimeEffectState.cpp:307:22: error: no viable constructor or deduction guide for deduction of template arguments of 'owner_less' auto less = std::owner_less{}; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/shared_ptr_base.h:401:12: note: candidate template ignored: couldn't infer template argument '_Tp' struct owner_less; ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/shared_ptr_base.h:401:12: note: candidate function template not viable: requires 1 argument, but 0 were provided 1 error generated. Created attachment 872220 [details, diff]
patch
Hi there,
this patch ought to resolve this issue. Some notes:
- it's prefixed with audacity-3.3.3 because the issue is still present in the 3.3.3 version.
- tested with clang-16.0.6 in a libstdc++ environment.
- played around a bit with Realtime Effects to confirm it's working OK.
- the patch from 915041 is still required for a successful build.
clang-lld_tinderbox has reproduced this issue with version 3.3.3 - Updating summary. I can confirm this issue in clang lld as of 2024-03-21 |