[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 Marcus Seyfarth changed: What|Removed |Added Status|NEEDSINFO |RESOLVED Resolution|WAITINGFORINFO |UPSTREAM --- Comment #6 from Marcus Seyfarth --- Indeed, I've now tested a newer Clang-21 revision that compiles kwallet just fine. Closing as Resolved Upstream. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 --- Comment #5 from Nate Graham --- Thanks! It does look like a toolchain regression to me. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 --- Comment #4 from Marcus Seyfarth --- (In reply to Nate Graham from comment #3) > I gather this worked in Frameworks 6.13? > > Can you confirm that clang change fixes it? Some other KDE packages are also affected by the same error that used to compile fine with Clang. I cannot tell if this is a regression from the KDE side, but it looks to be a regression from the toolchain-side to me (but I am not a programmer). a) A GCC fix landed today in master for this issue (r16-658-gc65725eccbabf3b9b5965f27fff2d3b9f6c75930) which is marked to need a backport for 15.2. b) From the Clang committ message, I gathered that this started to regress with Clang-git on May 8th. My current Clang-git build that shows this issue with Kwallet is from May 10th and the fix landed on May 14th. I'll try to verify this with a new Clang-git build on the weekend and will report back here. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 Nate Graham changed: What|Removed |Added Status|REPORTED|NEEDSINFO Resolution|--- |WAITINGFORINFO CC||n...@kde.org --- Comment #3 from Nate Graham --- I gather this worked in Frameworks 6.13? Can you confirm that clang change fixes it? -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 --- Comment #2 from Marcus Seyfarth --- The GCC bug report also linked to a relevant Clang change that might be what I need and was only pushed yesterday: https://github.com/llvm/llvm-project/commit/86ba681e286d0a377830d2cbbc5e58bb5fad442c -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kwallet] [Bug 504247] Error: variable template 'format_kind' declared with deduced type 'const auto' cannot appear in its own initializer when building with Clang
https://bugs.kde.org/show_bug.cgi?id=504247 --- Comment #1 from Marcus Seyfarth --- This GCC bug report seems related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120190 See also: https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683760.html -- You are receiving this mail because: You are watching all bug changes.