diff options
author | Liang Qi <liang.qi@qt.io> | 2024-03-18 11:00:22 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-03-19 20:24:07 +0000 |
commit | 2a1685eedd0367f6e0bfa0037eced9c1706626d9 (patch) | |
tree | 298d56b307807b2cdc113ad443d5c6b320696425 | |
parent | 02db07819686817edc9efe4ffa8606989386551c (diff) |
Fix dangling references - GCC 14
This amends 18def77d27f88ce26b6af29fe56a80429fed555d .
Pick-to: 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>
(cherry picked from commit 2a6015914c92edab473995aaf61d67f06478d185)
-rw-r--r-- | src/tools/qtpaths/qtpaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qtpaths/qtpaths.cpp b/src/tools/qtpaths/qtpaths.cpp index bbedea0208..dd42c73cdc 100644 --- a/src/tools/qtpaths/qtpaths.cpp +++ b/src/tools/qtpaths/qtpaths.cpp @@ -253,7 +253,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)) { |