From 564ece516e137c9a4f8b3ee7fa32c62012eab472 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 14 Jun 2015 18:57:05 -0700 Subject: [PATCH] Only use explicit inlining - otherwise Visual Studio 2010 will inline SDL_zero(info) in SDL_vsnprintf() into a memset() call when compiling the Release x64 configuration. --- VisualC/SDL/SDL.vcxproj | 4 ++++ VisualC/SDL/SDL_VS2008.vcproj | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj index ec6af5b6a..399551438 100644 --- a/VisualC/SDL/SDL.vcxproj +++ b/VisualC/SDL/SDL.vcxproj @@ -102,6 +102,7 @@ Level3 OldStyle true + OnlyExplicitInline _DEBUG;%(PreprocessorDefinitions) @@ -132,6 +133,7 @@ Level3 OldStyle true + OnlyExplicitInline _DEBUG;%(PreprocessorDefinitions) @@ -165,6 +167,7 @@ Level3 ProgramDatabase true + OnlyExplicitInline NDEBUG;%(PreprocessorDefinitions) @@ -196,6 +199,7 @@ Level3 ProgramDatabase true + OnlyExplicitInline NDEBUG;%(PreprocessorDefinitions) diff --git a/VisualC/SDL/SDL_VS2008.vcproj b/VisualC/SDL/SDL_VS2008.vcproj index ee3be7868..3d3d39969 100644 --- a/VisualC/SDL/SDL_VS2008.vcproj +++ b/VisualC/SDL/SDL_VS2008.vcproj @@ -51,6 +51,7 @@