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

Submitted by Martin Jansa on June 5, 2019, 7:54 a.m. | Patch ID: 161974

Details

Message ID 20190605075415.546-1-Martin.Jansa@gmail.com
State Accepted
Commit bf076ef0ab29abc67dcb65e66f59cad8002e8833
Headers show

Commit Message

Martin Jansa June 5, 2019, 7:54 a.m.
* until it's properly fixed in upstream:
  https://github.com/Microsoft/cpprestsdk/issues/1099

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

Patch hide | download patch | download mbox

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"