Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: another missed warning in g++ 1.35.0 (pre-) Message-ID: <8904222128.AA22659@riunite.aca.mcc.com> Date: 22 Apr 89 21:28:44 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 10 When you compile the following with -Wall, you will get a message like "warning: structure has no members". If you make the destructor virtual however, you will no longer get the warning. This seems inconsistant. I believe that the message should be issued in either case. class base { ~base () {} };