Created attachment 859268 [details] build.log Package fails to build with Clang 16 due to -Wenum-constexpr-conversion. Compiles fine with Clang 15, so this is a regression with the new compiler version. /var/tmp/portage/kde-apps/kleopatra-22.12.3/work/kleopatra-22.12.3/src/accessibility/accessiblevaluelabel.cpp:21:48: error: integer value 65536 is outside the valid range of values [0, 65535] for this enumeration type [-Wenum-constexpr-conversion] static constexpr QAccessible::Role ValueRole = static_cast<QAccessible::Role>(QAccessible::UserRole + 1); ^ 1 error generated.
Created attachment 859269 [details] emerge --info
Sam, is there actually anything to do for kde proj here?
This ended up being a complete mess. It turns out (to the limits of my (weak) C++ knowledge) that Clang was/is in the right here. This gets worse b/c of the fact that Clang 17 will make this fatal with no way to opt-out. Manuel, if you can still reproduce this w/ latest Qt + KDE stack, can you report this upstream please? (I think to Kleopatra, but it might end up needing to go to Qt.)
Ah, https://bugs.kde.org/show_bug.cgi?id=472056.
https://invent.kde.org/pim/kleopatra/-/commit/33f8d5247316beaada224fd7ba4ec93feedbfd8d Please test 23.08.5.