http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55239
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2012-11-08 Ever Confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-08 14:46:56 UTC --- Yes, annoying. Giving the type a user-defined constructor makes the warning go away. A user-defined destructor should have the same effect.