uninitialised c++ members

John Levon moz@compsoc.man.ac.uk
Mon Aug 13 07:01:00 GMT 2001


is it possible for gcc to warn me when I do :

class M {
	Thing * a;
	int b;
public:
	M() { };
};

... M m(); ...

i.e. the class members are not intialised in the ctor, either with initialiser
lists or in the ctor ?

thanks
john


-- 
"Not to laugh, not to lament, not to curse, but to understand."
	- Spinoza



More information about the Gcc mailing list