From f8b13dadd7051904b60b47e713e6692ff112b10f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 6 Jan 2025 11:30:36 -0800 Subject: [PATCH] Enabled warning level 4 on Visual Studio This catches uninitialized variables, etc. and matches Steam's warning level --- VisualC/SDL/SDL.vcxproj | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj index ada62e856d..0221a54328 100644 --- a/VisualC/SDL/SDL.vcxproj +++ b/VisualC/SDL/SDL.vcxproj @@ -112,13 +112,14 @@ DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) false StreamingSIMDExtensions - Level3 + Level4 OldStyle OnlyExplicitInline Use SDL_internal.h true MultiThreadedDebug + 4100;4127;4152;4201 _DEBUG;%(PreprocessorDefinitions) @@ -143,13 +144,14 @@ %(AdditionalUsingDirectories) DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) false - Level3 + Level4 OldStyle OnlyExplicitInline Use SDL_internal.h true MultiThreadedDebug + 4100;4127;4152;4201 _DEBUG;%(PreprocessorDefinitions) @@ -178,13 +180,14 @@ DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) false StreamingSIMDExtensions - Level3 + Level4 ProgramDatabase OnlyExplicitInline Use SDL_internal.h true MultiThreaded + 4100;4127;4152;4201 NDEBUG;%(PreprocessorDefinitions) @@ -210,13 +213,14 @@ %(AdditionalUsingDirectories) DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) false - Level3 + Level4 ProgramDatabase OnlyExplicitInline Use SDL_internal.h true MultiThreaded + 4100;4127;4152;4201 NDEBUG;%(PreprocessorDefinitions)