https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58114
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Chris Wilson from comment #6) > I disagree with the assessment of this bug as a duplicate of bug 43452. That > bug was resolved by the creation of the -Wdelete-incomplete option, upon > which this bug depends. But this one requests the ability to make this > warning into a fatal error, i.e. the creation of a -Werror=delete-incomplete > option, which does not exist yet. Of course it exists. -Werror=foo is valid for any -Wfoo warning, and it's trivial to check that it works.