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

qtbase FTBFS with GCC7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 Alpha
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      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] ~~~~~~~^~~~~~~~~~

       

       

        Attachments

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

          Activity

            People

            Assignee:
            cgiboudeaux Christophe Giboudeaux
            Reporter:
            cgiboudeaux Christophe Giboudeaux
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes