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: missed warnings in g++ 1.35.0 (pre-release) Message-ID: <8904222123.AA22649@riunite.aca.mcc.com> Date: 22 Apr 89 21:23:26 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 11 If you compile the following code with -Wall, you will only get one warning to the effect that "structure has no members" this appears to be inconnsistant because neither of the two have any members, so there should be *two* warning messages. ------------------------------------------------------------------- struct base { }; struct derived : public base { }; ---------------------------------------------------------------------