Skip to content

ci: fix windows-build with GCC v12.x

Johannes Schindelin via GitGitGadget git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4compat/win32/syslog: fix use-after-realloccompat/win32/syslog.c+2 -02 replies
2/4nedmalloc: avoid new compile errorcompat/nedmalloc/nedmalloc.c+0 -14 replies
3/4http.c: avoid danging pointer to local variable `finished`http-walker.c http.c http.h+8 -137 replies
4/4dir.c: avoid "exceeds maximum object size" error with GCC v12.xdir.c+9 -04 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchJunio C Hamano
1/4
2/4
3/4Initial-patch-by
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ci: fix windows-build with GCC v12.x

A recent update of GCC in Git for Windows' SDK (a subset of which is used in Git's CI/PR builds) broke the build.

These patches address that, and they are based on maint-2.34 (earlier maintenance tracks would have a trivial merge conflict due to 013c7e2b070 (http: drop support for curl < 7.16.0, 2021-07-30) removing support for USE_CURL_MULTI).

Johannes Schindelin (4):
compat/win32/syslog: fix use-after-realloc
nedmalloc: avoid new compile error
http.c: avoid danging pointer to local variable finished dir.c: avoid "exceeds maximum object size" error with GCC v12.x

 compat/nedmalloc/nedmalloc.c |  1 -
 compat/win32/syslog.c        |  2 ++
 dir.c                        |  9 +++++++++
 http-walker.c                |  4 ----
 http.c                       | 15 +++++++--------
 http.h                       |  2 +-
 6 files changed, 19 insertions(+), 14 deletions(-)

base-commit: 2f0dde7852b7866bb044926f73334ff3fc30654b
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1238%2Fdscho%2Ffix-win-build-with-gcc-12-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1238/dscho/fix-win-build-with-gcc-12-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1238

Signature · 1 line
gitgitgadget