It uses unary_function which is removed in c++17

| ../../../git/mimetic/rfc822/header.h:37:21: error: no template named 
'unary_function' in namespace 'std'; did you mean '__unary_function'?
|         public std::unary_function<const Field, bool>
|                ~~~~~^~~~~~~~~~~~~~

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb 
b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
index fc0b1ee495..06536ca70f 100644
--- a/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
+++ b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
@@ -19,6 +19,6 @@ UPSTREAM_CHECK_COMMITS = "1"
 
 S = "${WORKDIR}/git"
 
-CXXFLAGS += "-Wno-narrowing"
+CXXFLAGS += "-Wno-narrowing -std=c++14"
 
 inherit autotools
-- 
2.39.1

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

Reply via email to