This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #5 from gdr at cs dot tamu dot edu  2006-01-17 21:12 -------
Subject: Re:  "pure virtual" destructors accepted by GCC, but cause link
failure

"lloyd at randombit dot net" <gcc-bugzilla@gcc.gnu.org> writes:

| 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?

the code is rejected -- at link time.  So it is no bug.  
PR should be closed as invalid.

-- Gaby


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]