This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

uninitialised c++ members



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]