Windows: Ignore C4146 warning

This commit is contained in:
Asanka C. Herath
2010-11-18 20:54:11 -05:00
parent 604b554b23
commit e67cbf3bf9

View File

@@ -182,9 +182,10 @@ cdefines=$(cdefines) -D_USE_32BIT_TIME_T
# C4204: Nonstandard extension used: non-constant aggregate initializer # C4204: Nonstandard extension used: non-constant aggregate initializer
# C4221: Nonstandard extension used: 'v1': cannot be initialized using address of automatic variable 'v2' # 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 # 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) -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" !if "$(CPU)"=="i386"
libmach=/machine:X86 libmach=/machine:X86