[oe] [meta-oe][PATCH] cpprest: temporary ignore deprecated-copy and redundant-move errors detected by gcc9

Martin Jansa martin.jansa at gmail.com
Wed Jun 5 07:54:15 UTC 2019


* until it's properly fixed in upstream:
  https://github.com/Microsoft/cpprestsdk/issues/1099

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb b/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
index 1b1265fe35..0704512110 100644
--- a/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
+++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
@@ -17,3 +17,7 @@ SRCREV= "9d8f544001cb74544de6dc8c565592f7e2626d6e"
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
+
+# Temporary until https://github.com/Microsoft/cpprestsdk/issues/1099
+# is fixed properly
+CXXFLAGS += "-Wno-error=deprecated-copy -Wno-error=redundant-move"
-- 
2.17.1



More information about the Openembedded-devel mailing list