50a6c8ef - xmalloc_array
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Feb 29, 2016, 06:30 UTC
- Message-ID
- <56D3E56A.5010608@web.de>
I haven't digged further, but trying to verify t9115 under Windows gave this:
compat/mingw.c: In function 'mingw_spawnve_fd':
compat/mingw.c:1072:10: warning: implicit declaration of function
'xmalloc_array' [-Wimplicit-function-declaration]
wargs = xmalloc_array(st_add(st_mult(2, args.len), 1), sizeof(wchar_t));
^
compat/mingw.c:1072:8: warning: assignment makes pointer from integer without a
cast [-Wint-conversion]
wargs = xmalloc_array(st_add(st_mult(2, args.len), 1), sizeof(wchar_t));
^
--- and later ---libgit.a(mingw.o): In function `mingw_spawnve_fd': ..... compat/mingw.c:1072: undefined reference to `xmalloc_array' collect2.exe: error: ld returned 1 exit status Makefile:2014: recipe for target 'git-credential-store.exe' failed make: *** [git-credential-store.exe] Error 1