[oe-commits] [meta-openembedded] 24/36: grail: Disable elision warnings for clang
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 7 12:33:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit a4a1fe7d55fe4da3246e93ef2e6e2692202514fb
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Mar 6 23:13:40 2017 -0800
grail: Disable elision warnings for clang
Clang warns more, but lets disable them for now
../../grail-3.1.1/src/handle.cpp:65:5: error: moving a temporary object prevents copy elision
[-Werror,-Wpessimizing-move]
std::move(UniqueRecognizer(recognizer));
^
../../grail-3.1.1/src/handle.cpp:65:5: note: remove std::move call here
std::move(UniqueRecognizer(recognizer));
^~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
index e654a40..83ca724 100644
--- a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = " \
inherit autotools pkgconfig
DEPENDS = "frame"
-
+CXXFLAGS_append_toolchain-clang = " -Wno-pessimizing-move"
SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list