[Bug c/35928] type qualifiers ignored on function return type
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 14 03:33:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list