[Bug c++/38759] Incorrect warning/error when compiling with a typedef'ed ptr return type
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 9 20:25:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list