spurious warning with visual studio 2017
Don't force on a particular warning in the nmake Makefile if compiling using the older visual studio 2017. Resolves #950
This commit is contained in:
@@ -851,8 +851,10 @@ scall =
|
||||
# but variadic argument ‘position’ has type ‘type’
|
||||
# 4820 padding in struct
|
||||
ctmpflags = $(ctmpflags:-W3=-W4) -wd4100 -wd4244 -wd4245 -wd4310 -wd4706 -w44777 -wd4820
|
||||
!IF ($(VSVER) >= 2019)
|
||||
ctmpflags = $(ctmpflags) -w44774
|
||||
!ENDIF
|
||||
!ENDIF
|
||||
|
||||
#More verbose warning output options below
|
||||
#ctmpflags = $(ctmpflags:-W4=-wd4131
|
||||
|
||||
Reference in New Issue
Block a user