view src/msvcsetup.bat @ 26083:a677aa897843 v8.2.3575

patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long) Commit: https://github.com/vim/vim/commit/e551ccfb9311eea5252d1c3106ff7a53c762d994 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 2 23:11:00 2021 +0000 patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long) Problem: Overflow check still fails when sizeof(int) == sizeof(long). Solution: Use a float to check the result.
author Bram Moolenaar <Bram@vim.org>
date Wed, 03 Nov 2021 00:15:04 +0100
parents 0f9f4761ad9c
children
line wrap: on
line source

rem To be used on MS-Windows when using the Visual C++ Toolkit 2003
rem See INSTALLpc.txt for information.

set PATH=%SystemRoot%\Microsoft.NET\Framework\v1.1.4322;%PATH%
call "%VCToolkitInstallDir%vcvars32.bat"
set MSVCVer=7.1

rem The platform SDK can be installed elsewhere, adjust the path.
call "%ProgramFiles%\Microsoft Platform SDK\SetEnv.Cmd"
rem call "e:\Microsoft Platform SDK\SetEnv.Cmd"

set LIB=%ProgramFiles%\Microsoft Visual Studio .NET 2003\Vc7\lib;%LIB%