Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!LARRY.MCRCIM.MCGILL.EDU!brad%bnrmtl.UUCP From: brad%bnrmtl.UUCP@LARRY.MCRCIM.MCGILL.EDU (Brad Fowlow) Newsgroups: gnu.g++.bug Subject: warnings (suggestion) Message-ID: <9002231833.AA13168@bnrmtl.com> Date: 23 Feb 90 18:33:37 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 14 When compiling with g++ 1.36.1, and the option -Wall, the message ...: warning: structure has no data members appears for all classes and structs that have no data members. A class without data is neither unusual nor dangerous. A common case would be an abstract base class. The warnings tend to drown out more useful ones, especially when preceded by a string of filenames describing the include path to the offending class declaration (which, in the case of abstract bases, is likely to be long, and repeated in a lot of source files). brad fowlow