From a1945c3f67f4fb0f7717bf1909dd6930c99e0d3c Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Fri, 11 Oct 2013 20:37:04 -0700 Subject: [PATCH] Ignore VS linker warning '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' --- premake/toolchain.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/premake/toolchain.lua b/premake/toolchain.lua index 6f4a36f..703a371 100755 --- a/premake/toolchain.lua +++ b/premake/toolchain.lua @@ -202,6 +202,9 @@ function toolchain(_buildDir, _libDir) "/Oy-", -- Suppresses creation of frame pointers on the call stack. "/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 + } configuration { "vs2008" } includedirs { bxDir .. "include/compat/msvc/pre1600" }