summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <[email protected]>2025-01-29 13:27:55 +0100
committerLiang Qi <[email protected]>2025-01-31 11:50:22 +0100
commit9379b95b533216593d4d37c0cbf70f91d1ce037a (patch)
treeb8c23677c1750eea31943430b48a20fa83c27d64
parent937ccb466a93d7f809553464508277fc84b192c7 (diff)
Fix dangling references - GCC 15
This amends 8a6750475410629741de0417c28f574c25c65338 and 18def77d27f88ce26b6af29fe56a80429fed555d. Pick-to: 6.9 6.8 Change-Id: I31068527458da3d25211743fb64e2624039bd78b Reviewed-by: Giuseppe D'Angelo <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
-rw-r--r--src/tools/qtpaths/qtpaths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qtpaths/qtpaths.cpp b/src/tools/qtpaths/qtpaths.cpp
index 71f9fe43497..1321dd484bb 100644
--- a/src/tools/qtpaths/qtpaths.cpp
+++ b/src/tools/qtpaths/qtpaths.cpp
@@ -252,7 +252,7 @@ int main(int argc, char **argv)
}
QT_WARNING_PUSH
-#if defined(Q_CC_GNU_ONLY) && Q_CC_GNU >= 1300 && Q_CC_GNU < 1500
+#if defined(Q_CC_GNU_ONLY) && Q_CC_GNU >= 1300 && Q_CC_GNU < 1600
QT_WARNING_DISABLE_GCC("-Wdangling-reference")
#endif
if (parser.isSet(display)) {