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

[qmltc] -Waddress warnings

XMLWordPrintable

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

      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] 

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes