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

Macro with semicolon is show as error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.2.0-rc1, Qt Creator 3.2.0
    • Editors
    • Mac OSX 10.9.4
      CMake
      Qt 5.3.1

    Description

      When I add the "missing" semicolon I get warnings from compiler.

      warning: extra ';' inside a class [-Wextra-semi]
      Q_DECLARE_PRIVATE(GalleryBaseProvider);

      From what I tested there is no problem with indentation.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            dragonlich Jiri Konecny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes