Wind River Support Network

HomeDefectsLIN8-5214
Fixed

LIN8-5214 : qt4-native_4.8.7.bb, do_compile failed on a fedora24 host/container

Created: Dec 6, 2016    Updated: Dec 3, 2018
Resolved Date: Dec 6, 2016
Found In Version: 8.0.0.11
Fix Version: 8.0.0.12
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

Description

qt4-native building failure by gcc6, the main error log is: 
In file included from api/qcoloroutput.cpp:46:0:
api/qcoloroutput_p.h:74:60: warning: result of '(1048575 << 20)' requires 41 bits to represent, but 'int' only has 32 bits
             BackgroundMask  = ((1 << BackgroundShift) - 1) << BackgroundShift
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
api/qcoloroutput_p.h:74:60: error: shift expression '(1048575 << 20)' overflows [-fpermissive]
api/qcoloroutput_p.h:74:63: error: enumerator value for 'BackgroundMask' is not an integer constant
             BackgroundMask  = ((1 << BackgroundShift) - 1) << BackgroundShift
                                                               ^~~~~~~~~~~~~~~
......

Steps to Reproduce

On a fedora24 host/container: 
(1) # configure --enable-board=qemux86-64 --enable-rootfs=glibc-std --enable-kernel=standard 
(2) # make qt4-native.build

Other Downloads


Live chat
Online