https://bugs.kde.org/show_bug.cgi?id=484946

            Bug ID: 484946
           Summary: FTBFS with Qt 6.7
    Classification: Applications
           Product: digikam
           Version: 8.3.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: aro...@archlinux.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to