janwas
5bf9bca9ef
there are too many W4 and "potentially uninitialized", so those are disabled by 0ad_warning_disable.h. the silly "int x = strlen" and very dangerous "int x = (void*)p" (and vice versa) problems are fixed. This was SVN commit r5526.
7 lines
256 B
C
7 lines
256 B
C
#pragma warning(push, 3)
|
|
|
|
// it's way too much work to check all of these (runtime invariants may
|
|
// ensure the code is safe but cannot automatically be proved by the
|
|
// compiler)
|
|
#pragma warning(disable:4701) // "potentially uninitialized variable"
|