mudgangster

Log | Files | Refs

commit 6ac79c40e2a818d23f3db3c781a6a2eb45e54549
parent 0888869bcf896a103044a56b7422993ebb6f5f8b
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu,  6 Sep 2018 13:33:38 +0300

MSVC libs warnings

Diffstat:
libs/lfs.lua | 1+
libs/lpeg.lua | 1+
libs/lua.lua | 1+
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libs/lfs.lua b/libs/lfs.lua @@ -1,3 +1,4 @@ lib( "lfs", { "libs/lfs/lfs" } ) -- obj_replace_cxxflags( "libs/lpeg/%", "-c -O2 -x c" ) obj_cxxflags( "libs/lfs/%", "/c /TC /I libs/lua" ) +obj_cxxflags( "libs/lfs/%", "/wd4267" ) diff --git a/libs/lpeg.lua b/libs/lpeg.lua @@ -7,3 +7,4 @@ lib( "lpeg", { } ) -- obj_replace_cxxflags( "libs/lpeg/%", "-c -O2 -x c" ) obj_cxxflags( "libs/lpeg/%", "/c /TC /I libs/lua" ) +obj_cxxflags( "libs/lpeg/%", "/wd4244 /wd4267" ) diff --git a/libs/lua.lua b/libs/lua.lua @@ -35,3 +35,4 @@ lib( "lua", { } ) -- obj_replace_cxxflags( "libs/lua/%", "-c -O2 -x c -DLUA_COMPAT_5_2 -DLUA_USE_LINUX" ) obj_cxxflags( "libs/lua/%", "/c /TC /DLUA_COMPAT_5_2" ) +obj_cxxflags( "libs/lua/%", "/wd4244 /wd4310" )