← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1619483] [NEW] Fix GCC -Wsuggest-override warning on Q_OBJECT

 

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
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1619483

Title:
  Fix GCC -Wsuggest-override warning on Q_OBJECT

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  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/

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


Follow ups