🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1892

another missed warning in g++ 1.35.0 (pre-)

#1892
From: Ron Guilmette
Date: Sat, 22 Apr 1989 21:28
10 lines
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!rfg

Show 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