From e67cbf3bf9d873b7b4353fda191feaaf3f7b31e6 Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Thu, 18 Nov 2010 20:54:11 -0500 Subject: [PATCH] Windows: Ignore C4146 warning --- windows/NTMakefile.w32 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/NTMakefile.w32 b/windows/NTMakefile.w32 index 2c932234a..f3f55fabe 100644 --- a/windows/NTMakefile.w32 +++ b/windows/NTMakefile.w32 @@ -182,9 +182,10 @@ cdefines=$(cdefines) -D_USE_32BIT_TIME_T # C4204: Nonstandard extension used: non-constant aggregate initializer # C4221: Nonstandard extension used: 'v1': cannot be initialized using address of automatic variable 'v2' # C4295: '': Array is too small to include a terminating null character +# C4146: Unary minus operator applied to unsigned type, result still unsigned. # cwarn=$(cwarn) -D_CRT_SECURE_NO_WARNINGS -wd4996 -wd4127 -wd4244 -wd4100 -wd4706 -cwarn=$(cwarn) -wd4214 -wd4267 -wd4018 -wd4389 -wd4204 -wd4221 -wd4295 +cwarn=$(cwarn) -wd4214 -wd4267 -wd4018 -wd4389 -wd4204 -wd4221 -wd4295 -wd4146 !if "$(CPU)"=="i386" libmach=/machine:X86