Public bug reported:

The C++11 override keyword cannot be used in the Q_OBJECT macro. Qt 5.6
disables the equivalent for clang but not for GCC. The required patches
are [1] and [2]. I've just proposed the latter one upstream because
there was an error in the former patch.

[1] https://github.com/qt/qtbase/commit/3092bd56c394f22e027be59368789546afb5ca98
[2] https://codereview.qt-project.org/#/c/169969/

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Medium
     Assignee: Timo Jyrinki (timo-jyrinki)
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619483

Title:
  Fix GCC -Wsuggest-override warning on Q_OBJECT

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1619483/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to