Re: Compilation of vim 8 with mingw on windows fails: diff.c:891:12: error: storage size of 'st' isn't known

2016-09-23 Fir de Conversatie René Nyffenegger
> > Isn't your MinGW a bit old? Which version from which site do you use? > Newer MinGW should have _stat64. > I recommend MinGW-w64. That's it. I recently installed a new MinGW version, but failed to update the PATH environment variable, so that it still used the old MinGW environment. --

Compilation of vim 8 with mingw on windows fails: diff.c:891:12: error: storage size of 'st' isn't known

2016-09-22 Fir de Conversatie René Nyffenegger
I am trying to compile vim 8 on Windows with mingw. These are the steps I executed: git clone https://github.com/vim/vim.git cd vim\src \mingw\bin\mingw32-make.exe -f Make_ming.mak ARCH=i686 The compilation of diff.c failes with the following error message:diff.c: In function 'ex_diffpatch':

Re: Compilation of vim 8 with mingw on windows fails: diff.c:891:12: error: storage size of 'st' isn't known

2016-09-22 Fir de Conversatie René Nyffenegger
> > Sure, you can modify vim.h and change size_T from _stat64 to stat and comment > HAVE_STAT64, > > this works for me > > index a787575..308c9cd 100644 > --- a/src/vim.h > +++ b/src/vim.h > @@ -2093,8 +2093,8 @@ typedef int VimClipboard; /* This is required for the > prototypes. */ > > /*