comparison src/Make_mvc.mak @ 19376:1cae476a7c82 v8.2.0246

patch 8.2.0246: MSVC: deprecation warnings with Ruby Commit: https://github.com/vim/vim/commit/49c99fcca00740ae4feaba82bef4f9dc70b65318 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 11 23:01:39 2020 +0100 patch 8.2.0246: MSVC: deprecation warnings with Ruby Problem: MSVC: deprecation warnings with Ruby. Solution: Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata, closes #5622)
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Feb 2020 23:15:04 +0100
parents f123c6732cf3
children 1e78bf92f168
comparison
equal deleted inserted replaced
19375:033a5bb0b64b 19376:1cae476a7c82
655 ! if $(MSVC_MAJOR) >= 8 655 ! if $(MSVC_MAJOR) >= 8
656 # Use link time code generation if not worried about size 656 # Use link time code generation if not worried about size
657 ! if "$(OPTIMIZE)" != "SPACE" 657 ! if "$(OPTIMIZE)" != "SPACE"
658 OPTFLAG = $(OPTFLAG) /GL 658 OPTFLAG = $(OPTFLAG) /GL
659 ! endif 659 ! endif
660 # Visual Studio 2005 has 'deprecated' many of the standard CRT functions
661 CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
660 ! endif 662 ! endif
661 663
662 # (/Wp64 is deprecated in VC9 and generates an obnoxious warning.) 664 # (/Wp64 is deprecated in VC9 and generates an obnoxious warning.)
663 ! if ($(MSVC_MAJOR) == 7) || ($(MSVC_MAJOR) == 8) 665 ! if ($(MSVC_MAJOR) == 7) || ($(MSVC_MAJOR) == 8)
664 CFLAGS = $(CFLAGS) $(WP64CHECK) 666 CFLAGS = $(CFLAGS) $(WP64CHECK)