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

Enable -Wzero-as-null-pointer-constant when building Qt

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0
    • Build System
    • None

    Description

      qttools, qtdeclarative and qt3d had recently build failures due to 0 used as nullptr; nobody noticed until a few signatures changed.

      The warning in question should be enabled (as error) when building all of Qt, not just during headersclean.

      For Windows, see QTBUG-87713.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              peppe Giuseppe D'Angelo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes