Mercurial > vim
view src/msys32.bat @ 24506:cf773d752eb9 v8.2.2793
patch 8.2.2793: MS-Windows: string literals are writable with MSVC
Commit: https://github.com/vim/vim/commit/d23f8bde5cd16b7752cc4a73da106673839ed824
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 21 11:30:48 2021 +0200
patch 8.2.2793: MS-Windows: string literals are writable with MSVC
Problem: MS-Windows: string literals are writable with MSVC.
Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
closes #8133)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Apr 2021 11:45:04 +0200 |
parents | 78449866e9a9 |
children |
line wrap: on
line source
@echo off rem To be used on MS-Windows for Msys2 with the 32 bit MinGW compiler. rem Adjust the "c:\msys64" part to match your installation. @echo on set PATH=c:\msys64\mingw32\bin;c:\msys64\usr\bin;%PATH%