Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4, 6.5, 6.6, 6.7, 6.8, 6.9
-
-
1
-
b7e341ec5 (dev), 3e9419b1f (6.9), 36e4ef155 (6.8), 3995e744e (tqtc/lts-6.5)
-
Foundation Sprint 124
Description
Fedora Rawhide(next release: 42) switches to gcc 15.
gcc (GCC) 15.0.1 20250125 (Red Hat 15.0.1-0)
/home/qt/dev/git/qt/qt5/qtdeclarative/src/qmldom/qqmldomtop.cpp: In member function ‘std::shared_ptr<QQmlJS::Dom::ModuleIndex> QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(const QQmlJS::Dom::DomItem&, const QString&, int, QQmlJS::Dom::EnvLookup, QQmlJS::Dom::Changeable, const QQmlJS::Dom::ErrorHandler&)’: /home/qt/dev/git/qt/qt5/qtdeclarative/src/qmldom/qqmldomtop.cpp:1547:65: error: captured structured bindings are a C++20 extension [-Werror=c++20-extensions] 1547 | std::shared_ptr<ModuleIndex> newModulePtr = [&, candidate = candidate](){ | ^~~~~~~~~ /home/qt/dev/git/qt/qt5/qtdeclarative/src/qmldom/qqmldomtop.cpp:1536:11: note: declared here 1536 | auto [candidate, origin] = moduleIndexWithUriHelper(self, uri, majorVersion, options); | ^~~~~~~~~