]> git.ipfire.org Git - thirdparty/ccache.git/commit
Minor fixes for cygwin/msys2
authorRafael Kitover <rkitover@gmail.com>
Tue, 25 Sep 2018 23:55:35 +0000 (16:55 -0700)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 13 Oct 2018 11:55:31 +0000 (13:55 +0200)
commit86feae3fa74924e13a5b9218d958ea79cb36f496
treedf6b1084b6f084d40f6a306e299a14c77c32c589
parenta0bb3133f51d1cb6a6fe03a2948aebac185554e6
Minor fixes for cygwin/msys2

Add -Wno-error=implicit-fallthrough, if the compiler supports it,  to
dev.mk so that zlib will compile with -Werror.

Disable -Wdeprecated-declarations in the mkstemp() shim in util.c so
that it compiles with -Werror.

Stop assuming that mkstemp() is broken on cygwin, I could not find any
documentation for this.

Fix a couple of erroneous checks in zlib that assume cygwin is the same
as win32.
configure.ac
dev.mk.in
src/ccache.h
src/util.c
src/zlib/gzguts.h
src/zlib/zlib.h
src/zlib/zutil.h