Home visual-studio How to disable the error C4700 "Used uninitialized local variable"?

How to disable the error C4700 “Used uninitialized local variable”?




I can not start the working draft under Visual Studio 2013 because of this error. The old project was made by Visual Studio 6.0. Apparently, there was a warning instead of error.

variables a lot. Maybe still you can get around this error without initializing them all?

Answer 1, Authority 100%

In Project Properties – Configuration Properties – C / C++ – Creating Code – Security Check – Disable Security Check (/ GS -)

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions