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

[reg] Fatal error C1067 when building qtopcua with latest moc changes

    XMLWordPrintable

Details

    • Windows
    • 7fbda83d6 (dev), 49f63b3f8 (dev), 67767da88 (6.9)

    Description

      Build of qtopcua with the latest moc changes in qtbase fails with:

      ~~~/moc_qopcuanodeids.cpp(40): fatal error C1067: compiler limit: 64K limit on size of a type record has been exceeded
      

      This is a debug build with VS2022, cl version 19.41.34123. The issue would probably not happen in a release build.

      The type in question is https://doc.qt.io/qt-6/qopcua-nodeids.html#Namespace0-enum, which is massive and probably generated from a spec.

      But if we do that kind of thing, then it’s probably a safe bet that clients will also generate meta-object relevant types from some spec or some other APIs (such as a COM type library).

      At the very least, this will break the submodule update once the qtbase changes reach qtopcua.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes