Remove more useless MSVC warnings
This commit is contained in:
parent
efea10417c
commit
b3a8403b8e
1 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,16 @@ set WARNINGS=-W4 -Wall -WX
|
||||||
REM c4464 (relative include path contains '..')
|
REM c4464 (relative include path contains '..')
|
||||||
set WARNINGS=%WARNINGS% -wd4464
|
set WARNINGS=%WARNINGS% -wd4464
|
||||||
|
|
||||||
|
REM c4189 (local variable is initialized but not referenced)
|
||||||
|
set WARNINGS=%WARNINGS% -wd4189
|
||||||
|
|
||||||
|
REM c4018 (signed/unsigned mismatch)
|
||||||
|
REM basically useless. Complains about obviously correct code like:
|
||||||
|
REM uint8_t x = 60;
|
||||||
|
REM size_t i = 9;
|
||||||
|
REM i < x/8
|
||||||
|
set WARNINGS=%WARNINGS% -wd4018
|
||||||
|
|
||||||
REM c4457 (declaration shadowing function parameter)
|
REM c4457 (declaration shadowing function parameter)
|
||||||
REM FIXME(windows) TODO(uucidl): remove occurence of c4457 and reactivate
|
REM FIXME(windows) TODO(uucidl): remove occurence of c4457 and reactivate
|
||||||
REM FIXME(windows) TODO(uucidl): remove occurence of c4456 and reactivate
|
REM FIXME(windows) TODO(uucidl): remove occurence of c4456 and reactivate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue