]> git.ipfire.org Git - thirdparty/git.git/commit - config.mak.dev
win32: allow building with pedantic mode enabled
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Fri, 3 Sep 2021 17:02:31 +0000 (10:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Sep 2021 18:40:30 +0000 (11:40 -0700)
commit27e0c3c6cfead8fccd16105be497dba7ccd0ec6b
tree0c4bc32b547a378cabe191196dbfe4232012dbbf
parent153fb49e6083aed48da0b035ffdcf35c7b6eea0a
win32: allow building with pedantic mode enabled

In preparation to building with pedantic mode enabled, change a couple
of places where the current mingw gcc compiler provided with the SDK
reports issues.

A full fix for the incompatible use of (void *) to store function
pointers has been punted, with the minimal change to instead use a
generic function pointer (FARPROC), and therefore the (hopefully)
temporary need to disable incompatible pointer warnings.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/nedmalloc/nedmalloc.c
compat/win32/lazyload.h
config.mak.dev