https://bugs.kde.org/show_bug.cgi?id=408286
Bug ID: 408286
Summary: Build fails with GCC9
Product: QtCurve
Version: 1.9
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
GCC9 is less permissive than previous versions, the current QtCurve version
fails to build in openSUSE:
[ 111s]
/home/abuild/rpmbuild/BUILD/qtcurve-1.9.0/build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h:
In member function 'constexpr GObject*
QtCurve::GtkWidgetProps::Props::_SigConn_shadowDestroy_ObjGetter::operator()(QtCurve::GtkWidgetProps::Props::SigConn<QtCurve::GtkWidgetProps::Props::_SigConn_shadowDestroy_ObjGetter>*)
const':
[ 111s]
/home/abuild/rpmbuild/BUILD/qtcurve-1.9.0/build/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h:80:24:
error: a reinterpret_cast is not a constant expression
[ 111s] 80 | return (GObject*)qtcContainerOf(p, Props,
name)->m_w; \
[ 111s] |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the first error found, there may be others.
Full build log:
https://build.opensuse.org/build/KDE:Extra/openSUSE_Tumbleweed/x86_64/qtcurve/_log
--
You are receiving this mail because:
You are watching all bug changes.