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

"lloyd at randombit dot net" <[EMAIL PROTECTED]> writes:

| The following code:
| 
| class A
|    {
|    public:
|       virtual ~A() = 0;

You still need to *define* the destructor.  See ยง12.4/7.

-- Gaby


-- 


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

Reply via email to