CMake: disable warning 4146
This is warning on noisy (false positives).
This commit is contained in:
parent
10cf7499e7
commit
46af314bd9
@ -2738,6 +2738,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC")
|
|||||||
"/w34062" # switch statement contains 'default' but no 'case' labels
|
"/w34062" # switch statement contains 'default' but no 'case' labels
|
||||||
# disable:
|
# disable:
|
||||||
"/wd4018" # signed/unsigned mismatch
|
"/wd4018" # signed/unsigned mismatch
|
||||||
|
"/wd4146" # unary minus operator applied to unsigned type, result still unsigned
|
||||||
"/wd4065" # switch statement contains 'default' but no 'case' labels
|
"/wd4065" # switch statement contains 'default' but no 'case' labels
|
||||||
"/wd4127" # conditional expression is constant
|
"/wd4127" # conditional expression is constant
|
||||||
"/wd4181" # qualifier applied to reference type; ignored
|
"/wd4181" # qualifier applied to reference type; ignored
|
||||||
|
Loading…
Reference in New Issue
Block a user