From 74b6a9e876d78ccdb739d6fbdc1a0a6ab52ef796 Mon Sep 17 00:00:00 2001 From: Chris Blume Date: Tue, 3 Feb 2026 00:08:45 -0500 Subject: [PATCH] Update MSVC version and deprecation schedule --- Code/max/Compiling/Configuration/Compiler/VC.hpp | 11 ++++++++++- Docs/DeprecationSchedule.md | 8 ++++++-- Projects/VisualStudio/max/max.vcxproj | 8 ++++---- .../maxAutomatedTests/maxAutomatedTests.vcxproj | 8 ++++---- .../maxManualTests/maxManualTests.vcxproj | 8 ++++---- 5 files changed, 28 insertions(+), 15 deletions(-) diff --git a/Code/max/Compiling/Configuration/Compiler/VC.hpp b/Code/max/Compiling/Configuration/Compiler/VC.hpp index e4b0504..701e0bc 100644 --- a/Code/max/Compiling/Configuration/Compiler/VC.hpp +++ b/Code/max/Compiling/Configuration/Compiler/VC.hpp @@ -11,8 +11,17 @@ #define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) ) -#if _MSC_VER > 1943 +#if _MSC_VER > 1950 MAX_COMPILER_MESSAGE("Compiling with a newer version of MSVC than max recognizes. Using last known version."); +#elif _MSC_VER >= 1950 + // MSVC++ (Visual Studio 2026 / version 18.2) + #define MAX_COMPILER_VERSION_MAJOR 18 + #define MAX_COMPILER_VERSION_MINOR 2 +// TODO: I missed 18.0 and 18.1. Find what their _MSC_VER was. Maybe they all share 1950? This might make sense because they're all MSVC Build Tools 14.50 +#elif _MSC_VER >= 1944 + // MSVC++ (Visual Studio 2022 / version 17.14) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 14 #elif _MSC_VER >= 1943 // MSVC++ (Visual Studio 2022 / version 17.13) #define MAX_COMPILER_VERSION_MAJOR 17 diff --git a/Docs/DeprecationSchedule.md b/Docs/DeprecationSchedule.md index 442af43..66a8817 100644 --- a/Docs/DeprecationSchedule.md +++ b/Docs/DeprecationSchedule.md @@ -31,8 +31,12 @@ |MSVC version |Release date|max deprecation date|Adds support for | |------------------|-----------:|-------------------:|----------------------------------------------------| -|MSVC 17.13.x |Feb 11, 2025| Current| | -|MSVC 17.9.x |Feb 13, 2024| Fab 11, 2030| | +|MSVC 18.2.x |Jan 13, 2026| Current| | +|MSVC 18.1.x |Dec 9, 2025| Jan 13, 2031| | +|MSVC 18.0.x |Nov 11, 2025| Dec 9, 2030| | +|MSVC 17.14.x |May 21, 2025| Nov 11, 2030| | +|MSVC 17.13.x |Feb 11, 2025| May 21, 2025| | +|MSVC 17.9.x |Feb 13, 2024| Feb 11, 2030| | |MSVC 17.8.x |Nov 14, 2023| Feb 13, 2029| | |MSVC 17.7.x |Aug 8, 2023| Nov 14, 2028| | |MSVC 17.6.x |May 16, 2023| Aug 8, 2028| | diff --git a/Projects/VisualStudio/max/max.vcxproj b/Projects/VisualStudio/max/max.vcxproj index 2ebe574..6658af7 100644 --- a/Projects/VisualStudio/max/max.vcxproj +++ b/Projects/VisualStudio/max/max.vcxproj @@ -457,26 +457,26 @@ StaticLibrary true - v143 + v145 Unicode StaticLibrary false - v143 + v145 true Unicode StaticLibrary true - v143 + v145 Unicode StaticLibrary false - v143 + v145 true Unicode diff --git a/Projects/VisualStudio/maxAutomatedTests/maxAutomatedTests.vcxproj b/Projects/VisualStudio/maxAutomatedTests/maxAutomatedTests.vcxproj index b8e3439..47b3df8 100644 --- a/Projects/VisualStudio/maxAutomatedTests/maxAutomatedTests.vcxproj +++ b/Projects/VisualStudio/maxAutomatedTests/maxAutomatedTests.vcxproj @@ -64,26 +64,26 @@ Application true - v143 + v145 Unicode Application false - v143 + v145 true Unicode Application true - v143 + v145 Unicode Application false - v143 + v145 true Unicode diff --git a/Projects/VisualStudio/maxManualTests/maxManualTests.vcxproj b/Projects/VisualStudio/maxManualTests/maxManualTests.vcxproj index 3a7e647..d5106b7 100644 --- a/Projects/VisualStudio/maxManualTests/maxManualTests.vcxproj +++ b/Projects/VisualStudio/maxManualTests/maxManualTests.vcxproj @@ -37,26 +37,26 @@ Application true - v143 + v145 Unicode Application false - v143 + v145 true Unicode Application true - v143 + v145 Unicode Application false - v143 + v145 true Unicode