------- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-14 03:33 ------- The const in "const THANDLE" applies to the pointer type and not the element the pointer is pointing to. So the warning is correct.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35928