From 4f9ef3e373cde3783aa73d3afd39422f735b1402 Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Mon, 14 May 2018 20:18:24 +0700 Subject: softfloat3: fix msvc build (nw) (#3566) * softfloat3: fix msvc build (nw) Is this how we do these things? I assume we don't touch the library code itself, and have to "fix" any problems via this header instead? * softfloat3: do we like this better? (nw) * softfloat3: it gets the hose again (nw) * softfloat3: sonofa (nw) --- scripts/src/3rdparty.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/src/3rdparty.lua') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 94879049604..7c1cc4acf4c 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -196,6 +196,12 @@ includedirs { MAME_DIR .. "3rdparty/softfloat3/source/8086", } +configuration { "vs*" } +buildoptions { + "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used + "/wd4703", -- warning C4703: potentially uninitialized local pointer variable 'xxx' used +} + configuration { } defines { "SOFTFLOAT_ROUND_ODD", -- cgit v1.2.3-70-g09d2