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

Enable C++ Code Guidelines warnings for MSVC

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows
    • Technical Risk:
      Normal

      Description

      Qt should be built with several CCG warnings enabled (under warnings-are-errors).

      For instance:

      • C26477 USE_NULLPTR_NOT_CONSTANT
      • C26432 DEFINE_OR_DELETE_SPECIAL_OPS
      • C26436 NEED_VIRTUAL_DTOR
      • C26443 NO_EXPLICIT_DTOR_OVERRIDE
      • C26437 DONT_SLICE
      • C26471 NO_REINTERPRET_CAST_FROM_VOID_PTR
      • C26474 NO_IMPLICIT_CAST

      Probably many many as well.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              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