QLocale: update the disabling of -Wfree-nonheap-object to GCC 10 only
Testing with 11 and 12 does not produce the warning. Change-Id: I3d74c753055744deb8acfffd17243f3bd60e6855 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
52dcd47850
commit
e76bcaa203
@ -4,7 +4,7 @@
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
#if (defined(QT_STATIC) || defined(QT_BOOTSTRAPPED)) && defined(Q_CC_GNU_ONLY) && Q_CC_GNU >= 1000
|
||||
#if (defined(QT_STATIC) || defined(QT_BOOTSTRAPPED)) && defined(Q_CC_GNU_ONLY) && Q_CC_GNU && __GNUC__ == 10
|
||||
QT_WARNING_DISABLE_GCC("-Wfree-nonheap-object") // false positive tracking
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user