[kleopatra] [Bug 472056] New: accessiblevaluelabel.cpp fails to build with Clang 16 and C++17
Raphael Kubo da Costa
bugzilla_noreply at kde.org
Fri Jul 7 17:47:17 BST 2023
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: aheinecke at gnupg.org
Reporter: rakuco at FreeBSD.org
CC: kdepim-bugs at kde.org, mutz at 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.
More information about the Kdepim-bugs
mailing list