diff options
| author | seyko <seyko2@gmail.com> | 2016-04-13 06:29:24 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2016-04-13 06:29:24 +0300 |
| commit | 52d194a1e6878a2a859bfa5a250e53a1e57be048 (patch) | |
| tree | ccc590058735f64a6f837df7895df80df42e8ecd /tcc.h | |
| parent | b5b3e89f9e6735eb33eedd2b3071acd38222ee04 (diff) | |
| download | tinycc-52d194a1e6878a2a859bfa5a250e53a1e57be048.tar.gz tinycc-52d194a1e6878a2a859bfa5a250e53a1e57be048.tar.bz2 | |
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.
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
