By default, libtoml11 uses the C++11 standard. However, when building budgie-desktop-services, I get 'undefined reference to `std::enable_if' without having c++20 enabled. I flagged this RFC because I don't know if anyone relies on C++11.

On Thu, Jan 15 2026 at 10:55:52 +01:00:00, Markus Volk via lists.openembedded.org <[email protected]> wrote:
Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---
 meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
index 38786b79ed..973a39fc21 100644
--- a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
+++ b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
@@ -28,6 +28,7 @@ inherit cmake ptest

 EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \
-DTOML11_BUILD_TESTS=${@bb.utils.contains <mailto:-DTOML11_BUILD_TESTS=${@bb.utils.contains>("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \
+                  -DCMAKE_CXX_STANDARD=20 \
 "

 ALLOW_EMPTY:${PN} = "1"
--
2.52.0





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123499): 
https://lists.openembedded.org/g/openembedded-devel/message/123499
Mute This Topic: https://lists.openembedded.org/mt/117276714/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to