commit 27de3c533512098086cf61ebbdfd33d40bd28fd8 parent 3882ec004b1dea878c001fad07c5e2b5e71d2764 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jul 16 14:48:06 +0300 MSVC warnings Diffstat:
libs/lodepng.lua | | | 2 | +- |
libs/lz4.lua | | | 4 | ++-- |
libs/xxhash.lua | | | 2 | +- |
diff --git a/libs/lodepng.lua b/libs/lodepng.lua @@ -1,3 +1,3 @@ lib( "lodepng", { "libs/lodepng/lodepng" } ) -msvc_obj_cxxflags( "libs/lodepng/lodepng", "/O2 /g0 /DLODEPNG_NO_COMPILE_CPP" ) +msvc_obj_cxxflags( "libs/lodepng/lodepng", "/O2 /DLODEPNG_NO_COMPILE_CPP /wd4334 /wd4267" ) gcc_obj_cxxflags( "libs/lodepng/lodepng", "-O2 -g0 -DLODEPNG_NO_COMPILE_CPP" ) diff --git a/libs/lz4.lua b/libs/lz4.lua @@ -1,5 +1,5 @@ lib( "lz4", { "libs/lz4/lz4", "libs/lz4/lz4hc" } ) -msvc_obj_cxxflags( "libs/lz4/lz4", "/O2 /g0" ) -msvc_obj_cxxflags( "libs/lz4/lz4hc", "/O2 /g0" ) +msvc_obj_cxxflags( "libs/lz4/lz4", "/O2" ) +msvc_obj_cxxflags( "libs/lz4/lz4hc", "/O2" ) gcc_obj_cxxflags( "libs/lz4/lz4", "-O3 -g0" ) gcc_obj_cxxflags( "libs/lz4/lz4hc", "-O3 -g0" ) diff --git a/libs/xxhash.lua b/libs/xxhash.lua @@ -1,3 +1,3 @@ lib( "xxhash", { "libs/xxhash/xxhash" } ) -msvc_obj_cxxflags( "libs/xxhash/xxhash", "/O2 /g0" ) +msvc_obj_cxxflags( "libs/xxhash/xxhash", "/O2" ) gcc_obj_cxxflags( "libs/xxhash/xxhash", "-O3 -g0" )