------- Comment #2 from kkylheku at gmail dot com 2008-06-20 20:26 ------- I should add that this is different from -Wunused-value, because I want this warning emitted even if the constructor (or its corresponding destructor) have side effects.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36587