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

qtbase/fe6dda9bb9310878b408b2421f60acb7135bd8ba breaks -unity-build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.9.0 FF
    • Core: I/O
    • None
    • 57fab6a1c (dev), 00f6df326 (6.9), ab5e8bc67 (6.8)

      I get compile errors from a -unity-build with a large batch size now:

      In file included from unity_0_cxx.cxx:121:
      qresource.cpp:283:7: error: ‘QResourcePrivate’ has a field ‘QList<{anonymous}::QResourceRoot*> QResourcePrivate::related’ whose type has internal linkage [-Werror=subobject-linkage]
        283 | class QResourcePrivate {
            |       ^~~~~~~~~~~~~~~~
      

      Looks like https://codereview.qt-project.org/c/qt/qtbase/+/556989 is at fault.

        For Gerrit Dashboard: QTBUG-132114
        # Subject Branch Project Status CR V

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes