![]() |
![]() |
![]() |
Turning off Runtime Check in VC7 Hi
Kelvin
The compiler probably detected the uninitialized variable during static checking. Try decreasing the warning level.
Chris Nahr
Tried that but it didn't work.
Kelvin
Sorry, I misunderstood that. I don't know what happened then, unless it's the Visual Studio build engine again that doesn't know what to rebuild.
Chris Nahr
I suppose it goes without saying that you ought to actually fix the problem with your code, as well...
Mark Bessey
Uh yeah the way to fix that error is to initialize x before you use it...
Mr Fancypants
I didn't managed to figure it out, but I took the advice to make sure the variables are initialised. Thanks for the help.
Kelvin
|