Article View: gnu.g++.bug
Article #1892another missed warning in g++ 1.35.0 (pre-)
From: Ron Guilmette
Date: Sat, 22 Apr 1989 21:28
Date: Sat, 22 Apr 1989 21:28
10 lines
705 bytes
705 bytes
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 () {}
};
Technical Details
Message-ID:
<8904222128.AA22659@riunite.aca.mcc.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MCC.COM!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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