http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-10-30
Component|c++ |libstdc++
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is because warnings are suppressed by default in system headers, and the
undefined delete operation occurs in a system header. You get the warning if
you use -Wsystem-headers
I don't see an easy way to force the warning to always be emitted though.