From 808de2032f11993f91307f7eac29c4176de3446b Mon Sep 17 00:00:00 2001 From: Chris Blume Date: Mon, 22 May 2023 08:05:58 -0400 Subject: [PATCH] Update max max has been updated to support the latest version of Visual C++. This commit updates max. --- .../Code/max/Compiling/Configuration/Compiler/VC.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp index e19b2e3..e477fe1 100644 --- a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp +++ b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp @@ -11,8 +11,16 @@ #define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) ) -#if _MSC_VER > 1934 +#if _MSC_VER > 1936 MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." ); +#elif _MSC_VER >= 1936 + // MSVC++ (Visual Studio 2022 / version 17.6) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 6 +#elif _MSC_VER >= 1935 + // MSVC++ (Visual Studio 2022 / version 17.5) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 5 #elif _MSC_VER >= 1934 // MSVC++ (Visual Studio 2022 / version 17.4) #define MAX_COMPILER_VERSION_MAJOR 17