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

Macro with semicolon is show as error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes