Fix dangling references - GCC 14

This amends 18def77d27 .

Pick-to: 6.7 6.6 6.5
Change-Id: Icadf46326f1fda1bdbcd40d101170581e510b87a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Liang Qi 2024-03-18 11:00:22 +01:00
parent 89467428f8
commit 8a67504754
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ int main(int argc, char **argv)
}
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")
#endif
if (parser.isSet(display)) {