[Bug c++/18064] gcc accepts different pointer types as covariant return types

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 26 12:37:00 GMT 2004


------- Additional Comments From nathan at gcc dot gnu dot org  2004-10-26 12:37 -------
FYI, this is an undocumented gnu extension (documented only in compiler comments).
It is rejected with -pedantic, and I'm polling the other C++ maintainers about
deprecating and removing this 'feature'.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18064



More information about the Gcc-bugs mailing list