[gnu.g++.bug] missing warning in G++ 1.33.0 - totally private classes

rfg@MCC.COM (Ron Guilmette) (02/24/89)

It seem that a class which has absolutely no public or protected
member functions or data-members is totally useless.  Right?

If that is true, then the declaration of any such class should
reasonable elicit a warning from the compiler.

For instance,

class x {
	int x_private_data;
	int x_private_method ();
};

Is silly.

// Ron Guilmette  -  MCC  -  Experimental (parallel) Systems Kit Project
// 3500 West Balcones Center Drive,  Austin, TX  78759  -  (512)338-3740
// ARPA: rfg@mcc.com
// UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg