------- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-09 20:25 ------- Just remove the const from the function definition and the warning will go away. The warning is correct as the const here is applying to the pointer type.
-- 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=38759