From 87d32651ae4d12a32edfa823c462dca0fe0b1ea1 Mon Sep 17 00:00:00 2001 From: Vasyl Skorych Date: Fri, 23 Feb 2024 12:48:23 +0100 Subject: [PATCH] build: Small fixes Add missing include. Absolute path in ScriptInterface.vcxproj. Disable 4005 warning for VS. --- DyssolConsole/DyssolConsole.vcxproj | 2 +- MaterialsDatabase/DefinesMDB.h | 1 + Utilities/DisableWarningHelper.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DyssolConsole/DyssolConsole.vcxproj b/DyssolConsole/DyssolConsole.vcxproj index c0de4ae0..e1e34186 100644 --- a/DyssolConsole/DyssolConsole.vcxproj +++ b/DyssolConsole/DyssolConsole.vcxproj @@ -142,7 +142,7 @@ {a631849a-0b28-4982-9a8d-9e4921a2a84c} - + {0736ddb9-c29b-4dea-8e9a-6feffed8cfb6} diff --git a/MaterialsDatabase/DefinesMDB.h b/MaterialsDatabase/DefinesMDB.h index 02e1d7db..fb37cd79 100644 --- a/MaterialsDatabase/DefinesMDB.h +++ b/MaterialsDatabase/DefinesMDB.h @@ -14,6 +14,7 @@ #include #include #include +#include ////////////////////////////////////////////////////////////////////////// /// Default and service values diff --git a/Utilities/DisableWarningHelper.h b/Utilities/DisableWarningHelper.h index 5be93dbd..32b81b5b 100644 --- a/Utilities/DisableWarningHelper.h +++ b/Utilities/DisableWarningHelper.h @@ -4,7 +4,7 @@ #include #define PRAGMA_WARNING_PUSH __pragma(warning(push)) #define PRAGMA_WARNING_POP __pragma(warning(pop)) -#define PRAGMA_WARNING_DISABLE __pragma(warning(disable : 4244 4267 4700 ALL_CODE_ANALYSIS_WARNINGS)) +#define PRAGMA_WARNING_DISABLE __pragma(warning(disable : 4005 4244 4267 4700 ALL_CODE_ANALYSIS_WARNINGS)) #else #define PRAGMA_WARNING_PUSH #define PRAGMA_WARNING_POP