[oe] [meta-qt5][PATCH 2/2] qt5-plugin-generic-vboxtouch: add -Wno-narrowing to fix build with gcc-5.2

Khem Raj raj.khem at gmail.com
Tue Aug 4 23:05:26 UTC 2015


On Mon, Aug 3, 2015 at 12:00 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
> index 5352d15..2676bdd 100644
> --- a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
> +++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb
> @@ -9,12 +9,15 @@ LIC_FILES_CHKSUM = " \
>      file://evdevmousehandler.cpp;beginline=1;endline=40;md5=9081062f6e7f74b6e62ad7ecee4a71be \
>  "
>
> -PV = "1.0+gitr${SRCPV}"
> +PV = "1.1.3+gitr${SRCPV}"
>
>  DEPENDS = "qtbase"
>
> +# Needed with gcc-5.2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801

this comment it wrong. It should have said needed with gcc5 < 5.2

> +CXXFLAGS += "-Wno-narrowing"

we now have 5.2 in OE-Core and its fixed in 5.2, Can you try to remove it ?

> +
>  SRC_URI = "git://github.com/nemomobile/qt5-plugin-generic-vboxtouch.git"
> -SRCREV = "7d7a6dfd501c43687e7bb110610cac5f7c9abd4b"
> +SRCREV = "d613ad1cc64d7a6a9b38df4d49146170be6876aa"
>  S = "${WORKDIR}/git/vboxtouch"
>
>  inherit qmake5
> --
> 2.5.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list