Is there a compiler option in VS 2008 (C++) to expose uninitialized variables? I'm trying to debug a problem where the "release" build of a DLL does not work but the "debug" build of the DLL does work.
If I set to warning level 4 there are tons of messages that appear. Is there any easy way to find the actual uninitialized variables?
GregH
2010-03-30 11:58:06
you can use #pragma to disable the warnings you don't care about
steelbytes
2010-03-30 12:15:41
A:
paquetp
2010-03-30 11:57:21
A:
My normal debug builds seem to have this warning enabled:
warning C4700: uninitialized local variable 'xxx' used
and the warning is not present in a release build.
quamrana
2010-03-30 12:56:41