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 ^~~~~~~~~~~~~~~ ......
On a fedora24 host/container: (1) # configure --enable-board=qemux86-64 --enable-rootfs=glibc-std --enable-kernel=standard (2) # make qt4-native.build