[oe-commits] [meta-openembedded] 58/88: cpprest: Fix build failure with gcc 8

git at git.openembedded.org git at git.openembedded.org
Wed Jul 10 03:57:56 UTC 2019

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 03afac27b38d45ddec2cbe4ea1be49025aa8520c
Author: Adrian Bunk <bunk at stusta.de>
AuthorDate: Tue Jul 2 19:35:31 2019 +0300

    cpprest: Fix build failure with gcc 8
    The workaround for gcc 9 broke building with gcc 8:
         cc1plus: error: -Werror=deprecated-copy: no option -Wdeprecated-copy
         cc1plus: error: -Werror=redundant-move: no option -Wredundant-move
         ninja: build stopped: subcommand failed.
    -Werror is often problematic in distribution builds,
    disable it globally and permanently.
    Signed-off-by: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
 meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 0704512..3e42a00 100644
--- a/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
+++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
@@ -18,6 +18,4 @@ 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"
+CXXFLAGS += "-Wno-error"

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list