On 01/07/2022 22:30, Stephan Bergmann wrote:
On 6/25/22 00:26, Jason Merrill via Gcc-patches wrote:
This seems like a good warning to have in -Wall, as requested. But as
pointed out in PR20423, some users want a warning only when a derived
function doesn't override any base function. So let's put that lesser
version in -Wall (and -Woverloaded-virtual=1) while leaving the semantics
for the existing option the same.
This now causes
[...]
moved that to a comment at
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87729#c10> "Please include
-Woverloaded-virtual in -Wall" now