commit | 51f28e3aaf8b50554e7d356c8117399e63132323 | [log] [tgz] |
---|---|---|
author | Jonathan Wakely <jwakely@redhat.com> | Wed Nov 23 10:01:06 2022 +0000 |
committer | Jonathan Wakely <jwakely@redhat.com> | Wed Nov 23 15:45:45 2022 +0000 |
tree | cdaf722a123b62d29efe6e35b60301925ad9a6f0 | |
parent | d601708870ad8dc3ef935e440bf03394891d42e2 [diff] |
doc: -Wdelete-non-virtual-dtor supersedes -Wnon-virtual-dtor The newer -Wdelete-non-virtual-dtor has no false positives and fewer bugs. There is very little reason to use -Wnon-virtual-dtor instead. gcc/ChangeLog: * doc/invoke.texi (C++ Dialect Options): Recommend using -Wdelete-non-virtual-dtor instead of -Wnon-virtual-dtor.