From 6203583b72b58272010f8d06999811ff39922acf Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 14 Jul 2022 11:22:49 +0900 Subject: Remove support for Visual Studio 2013 No members of the buildfarm are using this version of Visual Studio, resulting in all the code cleaned up here as being mostly dead, and VS2017 is the oldest version still supported. More versions could be cut, but the gain would be minimal, while removing only VS2013 has the advantage to remove from the core code all the dependencies on the value defined by _MSC_VER, where compatibility tweaks have accumulated across the years mostly around locales and strtof(), so that's a nice isolated cleanup. Note that this commit additionally allows a revert of 3154e16. The versions of Visual Studio now supported range from 2015 to 2022. Author: Michael Paquier Reviewed-by: Juan José Santamaría Flecha, Tom Lane, Thomas Munro, Justin Pryzby Discussion: https://postgr.es/m/YoH2IMtxcS3ncWn+@paquier.xyz --- src/tools/msvc/MSBuildProject.pm | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/tools/msvc/MSBuildProject.pm') diff --git a/src/tools/msvc/MSBuildProject.pm b/src/tools/msvc/MSBuildProject.pm index f24d9e53482..62acdda3a19 100644 --- a/src/tools/msvc/MSBuildProject.pm +++ b/src/tools/msvc/MSBuildProject.pm @@ -4,7 +4,7 @@ package MSBuildProject; # -# Package that encapsulates a MSBuild project file (Visual C++ 2013 or greater) +# Package that encapsulates a MSBuild project file (Visual C++ 2015 or greater) # # src/tools/msvc/MSBuildProject.pm # @@ -405,31 +405,6 @@ EOF return; } -package VC2013Project; - -# -# Package that encapsulates a Visual C++ 2013 project file -# - -use strict; -use warnings; -use base qw(MSBuildProject); - -no warnings qw(redefine); ## no critic - -sub new -{ - my $classname = shift; - my $self = $classname->SUPER::_new(@_); - bless($self, $classname); - - $self->{vcver} = '12.00'; - $self->{PlatformToolset} = 'v120'; - $self->{ToolsVersion} = '12.0'; - - return $self; -} - package VC2015Project; # -- cgit v1.2.3