commit 34dbbd856c954022b7b3dc71c8e6b621cc6a2fc5 parent 6b94912fc7f458f0abc2b699e7f1cefed8e981f9 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun May 28 19:20:14 +0300 MSVC warnings Diffstat:
libs/stb.lua | | | 4 | ++-- |
libs/tinyobjloader.lua | | | 2 | ++ |
libs/whereami.lua | | | 1 | + |
diff --git a/libs/stb.lua b/libs/stb.lua @@ -1,6 +1,6 @@ lib( "stb_image", { "libs/stb/stb_image" } ) obj( "libs/stb/stb_image", "libs/stb/stb_image.h" ) -windows_obj_cxxflags( "libs/stb/stb_image", "/DSTB_IMAGE_IMPLEMENTATION -wd4244" ) +windows_obj_cxxflags( "libs/stb/stb_image", "/DSTB_IMAGE_IMPLEMENTATION /wd4244 /wd4456" ) linux_obj_cxxflags( "libs/stb/stb_image", "-DSTB_IMAGE_IMPLEMENTATION -Wno-shadow" ) lib( "stb_image_write", { "libs/stb/stb_image_write" } ) @@ -10,5 +10,5 @@ linux_obj_cxxflags( "libs/stb/stb_image_write", "-DSTB_IMAGE_WRITE_IMPLEMENTATIO lib( "stb_truetype", { "libs/stb/stb_truetype" } ) obj( "libs/stb/stb_truetype", "libs/stb/stb_truetype.h" ) -windows_obj_cxxflags( "libs/stb/stb_truetype", "-DSTB_TRUETYPE_IMPLEMENTATION -DSTB_RECT_PACK_IMPLEMENTATION" ) +windows_obj_cxxflags( "libs/stb/stb_truetype", "/DSTB_TRUETYPE_IMPLEMENTATION /DSTB_RECT_PACK_IMPLEMENTATION" ) linux_obj_cxxflags( "libs/stb/stb_truetype", "-DSTB_TRUETYPE_IMPLEMENTATION -DSTB_RECT_PACK_IMPLEMENTATION" ) diff --git a/libs/tinyobjloader.lua b/libs/tinyobjloader.lua @@ -1 +1,3 @@ lib( "tinyobjloader", { "libs/tinyobjloader/tinyobjloader" } ) +windows_obj_cxxflags( "libs/tinyobjloader/tinyobjloader", "/wd4267 /wd4706" ) + diff --git a/libs/whereami.lua b/libs/whereami.lua @@ -1 +1,2 @@ lib( "whereami", { "libs/whereami/whereami" } ) +windows_obj_cxxflags( "libs/whereami/whereami", "/wd4005" )