Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19741

-Wweak-vtables should not be used to check .cpp files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0
    • C/C++/Obj-C++ Support
    • None

    Description

      If you have a virtual class defined in a cpp file, it does not need to have an out of line virtual method, as this class will be compiled only once.

      -Wweak-vtables is only interesting in headers right?

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-19741
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            abique Alexandre BIQUE
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes