Skip to contentSkip to conversation

cpprest: temporary ignore deprecated-copy and redundant-move errors detected by gcc9

PATCH New Martin Jansa 1 participant 1 message Jun 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpprest: temporary ignore deprecated-copy and redundant-move errors detected by gcc9

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

---
 meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb +4 -0
index 1b1265fe35..0704512110 100644
@@ -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"
Signature · 1 line
2.17.1