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

            Bug ID: 472056
           Summary: accessiblevaluelabel.cpp fails to build with Clang 16
                    and C++17
    Classification: Applications
           Product: kleopatra
           Version: git master
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aheine...@gnupg.org
          Reporter: rak...@freebsd.org
                CC: kdepim-bugs@kde.org, m...@kde.org
  Target Milestone: ---

See the whole build log here:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p12211587418a_see8b0c436d/logs/kleopatra-23.04.2.log

The actual error is

    src/accessibility/accessiblevaluelabel.cpp:21:48: error: integer value
65536 is outside the valid range of values [0, 65535] for the enumeration type
'Role' [-Wenum-constexpr-conversion]
static constexpr QAccessible::Role ValueRole =
static_cast<QAccessible::Role>(QAccessible::UserRole + 1);

which comes from Clang 16 defaulting to using C++17 instead of C++14 and
throwing a bunch of new errors on code that used to work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to