From 6cd6fd9223e44f5652a726083c71e32fe729de20 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 21 Oct 2011 10:37:43 +0000 Subject: [PATCH] MSVC10 property sheet to disable unnecessary deprecations (which cause excessive warnings about things we don't have any plans to address). (and so it begins...) --- src/build/undeprecate.props | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/build/undeprecate.props diff --git a/src/build/undeprecate.props b/src/build/undeprecate.props new file mode 100644 index 0000000000..6cfc4e8919 --- /dev/null +++ b/src/build/undeprecate.props @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_PropertySheetDisplayName>Stop MSVC Deprecations</_PropertySheetDisplayName> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup /> +</Project> \ No newline at end of file -- GitLab