[Bug c++/11567] C++ code containing templated member function with same name as pure virtual member function results in linking failure

albert at stonethree dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 18 08:08:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From albert at stonethree dot com  2003-07-18 08:08 -------
Created an attachment (id=4426)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4426&action=view)
Similar code for showing bug

Courtesy of Gerhard Esterhuizen <gesterhuizen@yahoo.com>.

Nicely shows the "workaround" of implementing the calling function in the
header (but this doesn't always seem to work in my experience).



More information about the Gcc-bugs mailing list