[Bug c++/25826] "pure virtual" destructors accepted by GCC, but cause link failure

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 17 19:33:00 GMT 2006



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-17 19:33 -------
(In reply to comment #2)
> Ah, I misread it, but the bug should stay open IMO - the invalidity of the code
> reduces it to "GCC doesn't reject invalid code", which is obviously a low
> priority, but still a bug, no?

No, this is not invalid code.  Just useless code.


-- 


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



More information about the Gcc-bugs mailing list