Re: [PATCH] c++: Fix up final handling in C++98 [PR120628]

2025-07-10 Thread Jason Merrill
On 6/12/25 3:11 AM, Jakub Jelinek wrote: Hi! The following patch is on top of the https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686210.html patch which stopped treating override as conditional keyword in class properties. This PR mentions another problem; we emit a bogus warning on code li

[PATCH] c++: Fix up final handling in C++98 [PR120628]

2025-06-12 Thread Jakub Jelinek
Hi! The following patch is on top of the https://gcc.gnu.org/pipermail/gcc-patches/2025-June/686210.html patch which stopped treating override as conditional keyword in class properties. This PR mentions another problem; we emit a bogus warning on code like struct C {}; struct C final = {}; in C++