Warning disables

Remove SDL hint that gave warning (it was unnecessary anyway)
This commit is contained in:
Sri Sham Haran 2022-10-01 18:58:13 +08:00
parent f2b27b35fc
commit a6e17847bf
4 changed files with 22 additions and 3 deletions

View File

@ -67,9 +67,16 @@ project "SHADE_Application"
disablewarnings disablewarnings
{ {
"4251" "4251",
"26812",
"26439",
"26451",
"26437",
"4275"
} }
linkoptions { "-IGNORE:4006" }
warnings 'Extra' warnings 'Extra'
filter "configurations:Debug" filter "configurations:Debug"

View File

@ -14,7 +14,6 @@
#include <chrono> #include <chrono>
#include <ratio> #include <ratio>
#include <ctime> #include <ctime>
#define SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN 1
#include <SDL.h> #include <SDL.h>
#include "Scripting/SHScriptEngine.h" #include "Scripting/SHScriptEngine.h"

View File

@ -76,9 +76,16 @@ project "SHADE_Engine"
disablewarnings disablewarnings
{ {
"4251" "4251",
"26812",
"26439",
"26451",
"26437",
"4275"
} }
linkoptions { "-IGNORE:4006" }
defines defines
{ {
"_LIB", "_LIB",

View File

@ -61,6 +61,12 @@ project "SHADE_Managed"
"MultiProcessorCompile" "MultiProcessorCompile"
} }
disablewarnings
{
"4275"
}
dependson dependson
{ {
"yaml-cpp", "yaml-cpp",