I am porting a big and complex c++ server from Solaris to Windows. I am facing lots of trouble due to uninitialized member variables. On Solaris they get set to 0 value by default hence things work fine. But, on windows those member variables get garbage values assigned creating mayhem in the system.
Code base is too huge to manually check each class. Are you aware of any tool or Visual Studio settings that would issue warning if the member variables are not initialized in the constructor?
Thanks in advance!