------- Comment #2 from manu at gcc dot gnu dot org 2008-08-29 01:56 ------- The obvious fix is to say "qualifiers" instead of constness. At the point of warning we only know that the conversion is invalid but not why. It is almost magic that we only warn for qualifiers.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35711