[gnu.g++.bug] warnings

brad%bnrmtl.UUCP@LARRY.MCRCIM.MCGILL.EDU (Brad Fowlow) (02/24/90)

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