From 52d194a1e6878a2a859bfa5a250e53a1e57be048 Mon Sep 17 00:00:00 2001 From: seyko Date: Wed, 13 Apr 2016 06:29:24 +0300 Subject: VS2015 solution and project files From: Vlad Vissoultchev Date: Mon, 11 Apr 2016 01:32:28 +0300 Subject: Add VS2015 solution and project files to `win32/vs2015` directory This allows release/debug builds for both x86 and x64 targets. Some warnings had to be suppressed. Output libtcc.dll and tcc.exe are copied to parent `win32` directory w/ a post-build action. --- tcc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index c8031f3..fbd320f 100644 --- a/tcc.h +++ b/tcc.h @@ -76,6 +76,13 @@ # define LIBTCCAPI __declspec(dllexport) # define PUB_FUNC LIBTCCAPI # endif +# ifdef _MSC_VER +# pragma warning (disable : 4244) // conversion from 'uint64_t' to 'int', possible loss of data +# pragma warning (disable : 4267) // conversion from 'size_t' to 'int', possible loss of data +# pragma warning (disable : 4996) // The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name +# pragma warning (disable : 4018) // signed/unsigned mismatch +# pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned +# endif #endif #ifndef O_BINARY -- cgit v1.3.1