From ca8faf00c2d7530c15c65739c4c5fb7f500e42ca Mon Sep 17 00:00:00 2001 From: sosssego Date: Tue, 29 Nov 2022 15:01:27 +0000 Subject: [PATCH] Turn on warnings 6031, 26451, 28182 (#22240) 6031 - Return value ignored: 'called-function' could return unexpected value 26451 - Arithmetic overflow: Using operator 'operator' on a size-a byte value and then casting the result to a size-b byte value. Cast the value to the wider type before calling operator 'operator' to avoid overflow (io.2) 28182 - Dereferencing NULL pointer. --- Cpp.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cpp.Build.props b/Cpp.Build.props index fe251a9f45..2f38506c7e 100644 --- a/Cpp.Build.props +++ b/Cpp.Build.props @@ -42,7 +42,7 @@ pch.h Level4 - 26800;28251;6387;4505;4702;6031;6248;26451;28182;%(DisableSpecificWarnings) + 26800;28251;6387;4505;4702;6248;%(DisableSpecificWarnings) true TurnOffAllWarnings false