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

qtbase/fe6dda9bb9310878b408b2421f60acb7135bd8ba breaks -unity-build

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

            mmutz Marc Mutz
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes