[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
Thu Aug 6 03:30:17 UTC 2015


On Wed, Aug 5, 2015 at 5:37 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> 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).

in that case then you are not encountering the gcc bug mentioned in
comment its something else.
because the bug mentioned there is fixed in 5.2 and also a followup
bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801
which is also fixed.
Can you send preprocessed source for the file in question ?



More information about the Openembedded-devel mailing list