Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93100

qtbase FTBFS with GCC7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 6.2.0 Alpha
    • Build System
    • None
    • Linux/X11

      I usually don't build my snapshots tracking the dev branch for openSUSE Leap. Here's what was found on Leap 15.3 which builds with GCC 7.

      The CMake log is attached. The compiler seems too old but is not rejected. 6.1-rc is not affected.

       

      [ 420s] In file included from include/QtCore/6.2.0/QtCore/private/qproperty_p.h:1:0,
      [ 420s] from ../src/corelib/kernel/qobject_p.h:64,
      [ 420s] from ../src/corelib/kernel/qobject.cpp:43:
      [ 420s] include/QtCore/6.2.0/QtCore/private/../../../../../../src/corelib/kernel/qproperty_p.h: In instantiation of 'void QObjectCompatProperty<Class, T, Offset, Setter, Signal>::notify() [with Class = QObjectPrivate::ExtraData; T = QString; auto Offset = QObjectPrivate::ExtraData::_qt_property_objectName_offset; auto Setter = &QObjectPrivate::ExtraData::setObjectNameForwarder; auto Signal = &QObjectPrivate::ExtraData::nameChangedForwarder]':
      [ 420s] ../src/corelib/kernel/qobject.cpp:1239:41: required from here
      [ 420s] include/QtCore/6.2.0/QtCore/private/../../../../../../src/corelib/kernel/qproperty_p.h:540:30: error: '(QObjectPrivate::ExtraData::nameChangedForwarder != 0)' is not a constant expression
      [ 420s] if constexpr (Signal != nullptr) {
      [ 420s] ~~~~~~~^~~~~~~~~~

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cgiboudeaux Christophe Marin
            cgiboudeaux Christophe Marin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes