Fix dangling references - GCC 14
This amends 18def77d27f88ce26b6af29fe56a80429fed555d . Pick-to: 6.6 6.5 Change-Id: Icadf46326f1fda1bdbcd40d101170581e510b87a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 8a6750475410629741de0417c28f574c25c65338) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
fa601afd52
commit
2a6015914c
@ -255,7 +255,7 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_WARNING_PUSH
|
QT_WARNING_PUSH
|
||||||
#if defined(Q_CC_GNU_ONLY) && Q_CC_GNU >= 1300 && Q_CC_GNU < 1400
|
#if defined(Q_CC_GNU_ONLY) && Q_CC_GNU >= 1300 && Q_CC_GNU < 1500
|
||||||
QT_WARNING_DISABLE_GCC("-Wdangling-reference")
|
QT_WARNING_DISABLE_GCC("-Wdangling-reference")
|
||||||
#endif
|
#endif
|
||||||
if (parser.isSet(display)) {
|
if (parser.isSet(display)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user