[Qt-5.6 distropatch] Fix GCC -Wsuggest-override warning on Q_OBJECT
Bug #1619483 reported by
Loïc Molinari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtbase-opensource-src (Ubuntu) |
Fix Released
|
Medium
|
Timo Jyrinki |
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:/
[2] https:/
summary: |
- Fix GCC -Wsuggest-override warning on Q_OBJECT + [Qt-5.6 distropatch] Fix GCC -Wsuggest-override warning on Q_OBJECT |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
https:/ /codereview. qt-project. org/#/c/ 169969/ has been approved.