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:
nhmall
2022-12-15 08:39:30 -05:00
parent e4145f7dc1
commit 995fae39b5

View File

@@ -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