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]

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


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

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

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

-- Gaby


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