Fixes build
src/core/Renderer.cpp:2021:21: error: destructor cannot be declared using a
typedef 'DirectFB::Renderer::Throttle' (aka 'DirectFB::Throttle') of the class
name [-Wdtor-typedef]
Renderer::Throttle::~Throttle()
^
Signed-off-by: Khem Raj <[email protected]>
---
meta-oe/recipes-graphics/directfb/directfb.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc
b/meta-oe/recipes-graphics/directfb/directfb.inc
index 65fd89e6fe..f7dc668433 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -28,6 +28,8 @@ S = "${WORKDIR}/DirectFB-${PV}"
LDFLAGS_append = " -lm"
+CXXFLAGS_append_toolchain-clang = " -Wno-error=dtor-typedef"
+
# Workaround for linking issues seen with armv7a + gold
LDFLAGS_append_arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '
-fuse-ld=bfd ', '', d)}"
--
2.28.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#86416):
https://lists.openembedded.org/g/openembedded-devel/message/86416
Mute This Topic: https://lists.openembedded.org/mt/76256758/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-