diff options
author | Liang Qi <[email protected]> | 2024-03-18 11:00:22 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <[email protected]> | 2024-03-20 00:33:29 +0000 |
commit | 774fdfcb3fa7f82c025e51901d09a8f4b3c1ceb7 (patch) | |
tree | 1b907b5b36f97ff027116e061d17c518039208ba | |
parent | bb3d6f96af6928a8ad6841b2ea5191701ed5710c (diff) |
Fix dangling references - GCC 14
This amends 18def77d27f88ce26b6af29fe56a80429fed555d .
Change-Id: Icadf46326f1fda1bdbcd40d101170581e510b87a
Reviewed-by: Thiago Macieira <[email protected]>
(cherry picked from commit 8a6750475410629741de0417c28f574c25c65338)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit 2a6015914c92edab473995aaf61d67f06478d185)
(cherry picked from commit 2a1685eedd0367f6e0bfa0037eced9c1706626d9)
-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 fad31ceafa5..32f25603884 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)) { |