Maybe we should wait until the transition happend ... or dont do it
like this at all? ;)
It hurts my brain that the lib is called libtoml11 but then requires
c++20.
Maybe use an .inc file and then libtoml11.bb and libtoml20.bb? For now
I'll add
a bbappend file to my layer
On Thu, Jan 15 2026 at 11:06:49 +01:00:00, Gyorgy Sarvari
<[email protected]> wrote:
On 1/15/26 11:01, Markus Volk via lists.openembedded.org wrote:
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.
I remember that this recipe was moved to oe-core[1], because I
reviewed
some version of it... but apparently it didn't reach the actual repo
yet.
I have nothing against the proposal, but if it is done, it should made
somehow in a way that it won't be lost when the actual repo transition
happen.
I have added the transition-author on cc.
[1]:
<https://lists.openembedded.org/g/openembedded-core/message/227581>
On Thu, Jan 15 2026 at 10:55:52 +01:00:00, Markus Volk via
lists.openembedded.org <[email protected]
<mailto:[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 (#123518):
https://lists.openembedded.org/g/openembedded-devel/message/123518
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]]
-=-=-=-=-=-=-=-=-=-=-=-