Disable warnings we don't care about on Windows
We may care about them later, but for now we need to cut down on noise.
This commit is contained in:
@@ -148,7 +148,23 @@ pthreadinc= -I$(PTHREAD_INC)
|
||||
|
||||
cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
|
||||
cdefines=$(cdefines) -DHAVE_CONFIG_H
|
||||
cwarn=$(cwarn) -D_CRT_SECURE_NO_WARNINGS -wd4996 -wd4127 -wd4244 -wd4100
|
||||
|
||||
# Disable warnings:
|
||||
#
|
||||
# C4996: 'function' was declared deprecated
|
||||
# C4127: Conditional expression is constant
|
||||
# C4244: Conversion from 'type1' to 'type2', possible loss of data
|
||||
# C4100: 'identifier': unreferenced formal parameter
|
||||
# C4706: Assignment within conditional expression
|
||||
# C4214: Nonstandard extension used
|
||||
# C4267: '': Conversion from 'type1' to 'type2', possible loss of data
|
||||
# C4018: '': Signed/unsigned mismatch
|
||||
# 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
|
||||
#
|
||||
cwarn=$(cwarn) -D_CRT_SECURE_NO_WARNINGS -wd4996 -wd4127 -wd4244 -wd4100 -wd4706
|
||||
cwarn=$(cwarn) -wd4214 -wd4267 -wd4018 -wd4389 -wd4204 -wd4221 -wd4295
|
||||
|
||||
!if "$(CPU)"=="i386"
|
||||
libmach=/machine:X86
|
||||
|
Reference in New Issue
Block a user