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

Martin Jansa martin.jansa at gmail.com
Wed Aug 5 12:37:04 UTC 2015


On Tue, Aug 04, 2015 at 04:05:26PM -0700, Khem Raj wrote:
> 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 ?

I wrote this change, because it was failing with gcc-5.2 (I don't
remember if it was failing with 5.1 as well).

> 
> > +
> >  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
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150805/6dca7658/attachment-0002.sig>


More information about the Openembedded-devel mailing list