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

[qmltc] -Waddress warnings

    XMLWordPrintable

Details

    • 2d92e8d184 (qt/qtdeclarative/6.4) 41ebc90a0f (qt/qtdeclarative/dev) 2d92e8d184 (qt/tqtc-qtdeclarative/6.4) 41ebc90a0f (qt/tqtc-qtdeclarative/dev)

    Description

      qmltc generates a lot of code like:

      Q_ASSERT(dynamic_cast<QQmlParserStatus *>(this) != nullptr); 

       

      this causes gcc's `-Waddress` to fire with something like:

      warning: the address of 'QQuickItem::<anonymous>' will never be NULL [-Waddress] 

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes