Skip to content

Fix compile warnings with MSys2's compiler

Johannes Schindelin git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mingw: avoid redefining S_* constantscompat/mingw.h+4 -00 replies
2/4mingw: avoid warnings when casting HANDLEs to intcompat/mingw.c compat/poll/poll.c compat/winansi.c+9 -50 replies
3/4mingw: squash another warning about a castcompat/win32/pthread.h+1 -10 replies
4/4mingw: uglify (a, 0) definitions to shut up warningscompat/nedmalloc/malloc.c.h compat/win32/pthread.h+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fix compile warnings with MSys2's compiler

This is the second batch of Windows-specific patches from the Git for Windows project. Naturally, it is based on the first batch of patches that fixed the compile errors.

Please note that this series does the *minimal* job of fixing the compile warnings. Don't try to run the tests, they will still fail. You have been warned.

Johannes Schindelin (4):
mingw: avoid redefining S_* constants
mingw: avoid warnings when casting HANDLEs to int
mingw: squash another warning about a cast
mingw: uglify (a, 0) definitions to shut up warnings

 compat/mingw.c              | 9 ++++++---
 compat/mingw.h              | 4 ++++
 compat/nedmalloc/malloc.c.h | 3 ++-
 compat/poll/poll.c          | 2 +-
 compat/win32/pthread.h      | 7 +++++--
 compat/winansi.c            | 3 ++-
 6 files changed, 20 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.0.windows.1.7.g55a05c8