Mercurial > vim
view src/msvcsetup.bat @ 16764:ef00b6bc186b v8.1.1384
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
commit https://github.com/vim/vim/commit/964b3746b9c81e65887e2ac9a335f181db2bb592
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 24 18:54:09 2019 +0200
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 May 2019 19:00:07 +0200 |
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%