From 29a2bed8c8c4f55fba09ddc3cb39d82bfc5cbdc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 6 May 2016 21:28:42 -0700 Subject: [PATCH] MSVC: Disabled few L4 warnings. --- scripts/toolchain.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index a8dfba4..d7d1ec8 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -467,7 +467,9 @@ function toolchain(_buildDir, _libDir) "_CRT_SECURE_NO_DEPRECATE", } buildoptions { - "/Ob2", -- The Inline Function Expansion + "/wd4201", -- warning C4201: nonstandard extension used: nameless struct/union + "/wd4324", -- warning C4324: '': structure was padded due to alignment specifier + "/Ob2", -- The Inline Function Expansion } linkoptions { "/ignore:4221", -- LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library