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
parent
89467428f8
commit
8a67504754
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue