xcb: Work around GCC ABI issue causing warning on ARM
In member function ‘virtual QDpi QXcbScreen::logicalBaseDpi() const’:
qxcbscreen.h:139:42: note: parameter passing for argument of type
‘std::pair<double, double>’ when C++17 is enabled changed to match C++14 in GCC 10.1
QDpi logicalBaseDpi() const override { return QDpi(96, 96); }
It's not possible to silence this warning/note using pragmas.
Pick-to: 6.6 6.5 6.2
Change-Id: I913a1753ce0c82ac17951faa58b0a88bf1daa4db
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
bb10
parent
0e23865c9e
commit
a0792da126
|
|
@ -5,6 +5,11 @@
|
|||
## XcbQpaPrivate Module:
|
||||
#####################################################################
|
||||
|
||||
if(GCC)
|
||||
# Work around GCC ABI issues
|
||||
add_compile_options(-Wno-psabi)
|
||||
endif()
|
||||
|
||||
qt_internal_add_module(XcbQpaPrivate
|
||||
CONFIG_MODULE_NAME xcb_qpa_lib
|
||||
INTERNAL_MODULE
|
||||
|
|
|
|||
Loading…
Reference in New Issue