Build fails with Qt 6.7 and GCC 13: In file included from /usr/include/qt6/QtCore/QtCore:238, from /usr/include/qt6/QtDBus/QtDBusDepends:3, from /usr/include/qt6/QtDBus/QtDBus:3, from /build/digikam/src/digikam-8.3.0/core/libs/database/coredb/coredbwatch.cpp:24: /usr/include/qt6/QtCore/qspan.h:300:5: error: "__cpp_lib_span" is not defined, evaluates to 0 [-Werror=undef] 300 | #if __cpp_lib_span | ^~~~~~~~~~~~~~ "-Werror=undef" comes from extra-cmake-modules. "__cpp_lib_span" is defined with C++20 only, and digikam enforces C++17 in CMakeLists.txt
Qt bug: https://bugreports.qt.io/browse/QTBUG-123937
*** Bug 485131 has been marked as a duplicate of this bug. ***
Git commit 28eab40d868f4bb20fc6f04b99673d7558fe614e by Gilles Caulier. Committed on 10/04/2024 at 08:01. Pushed by cgilles into branch 'master'. fix broken compillation with Qt 6.7 Related: bug 485131 FIXED-IN: 8.4.0 M +1 -1 CMakeLists.txt M +2 -2 NEWS https://invent.kde.org/graphics/digikam/-/commit/28eab40d868f4bb20fc6f04b99673d7558fe614e
Git commit 01467beb4e0bf83e183aa48116249f76fd7a026c by Gilles Caulier. Committed on 10/04/2024 at 09:14. Pushed by cgilles into branch 'master'. Fix compilation with C++20 UPNP SDK only support C++17 Related: bug 485131 M +5 -0 core/dplugins/generic/tools/mediaserver/CMakeLists.txt https://invent.kde.org/graphics/digikam/-/commit/01467beb4e0bf83e183aa48116249f76fd7a026c
Git commit ae7afd5a4aca105c93f67d3f0bde18dbe23069af by Gilles Caulier. Committed on 10/04/2024 at 10:09. Pushed by cgilles into branch 'master'. Fix compilation with C++20 UPNP SDK unit test only support C++17 Related: bug 485131 M +2 -0 core/tests/mediaserver/CMakeLists.txt https://invent.kde.org/graphics/digikam/-/commit/ae7afd5a4aca105c93f67d3f0bde18dbe23069af