From a65822aec6ddafa456f5ffde71db016d6b89802b Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Sat, 14 Sep 2019 16:13:48 +1000 Subject: [PATCH] try disabling warning 4947 in ConfigOption.h (it doesn't matter.. just an obsoletion notice for `Windows::Forms::Control::Scale`, which probably isn't going away anytime soon. --- source-code/source/plugins/Launcher/ConfigOption.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source-code/source/plugins/Launcher/ConfigOption.h b/source-code/source/plugins/Launcher/ConfigOption.h index 47888f2..6ec5782 100644 --- a/source-code/source/plugins/Launcher/ConfigOption.h +++ b/source-code/source/plugins/Launcher/ConfigOption.h @@ -1,4 +1,6 @@ #pragma once +#pragma warning(push) +#pragma warning(disable: 4947) #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files @@ -1179,4 +1181,6 @@ Panel^ MakePanel(int width, int height, std::vector &cfg, Too } return outpanel; -} \ No newline at end of file +} + +#pragma warning(pop) \ No newline at end of file