Re: [PATCH] khash: silence -Wunused-function
- From
Carlo Arenas <carenas@gmail.com>
- Date
- Oct 23, 2018, 16:52 UTC
- Message-ID
- <CAPUEspho2MB=AruF565XaCPL7e+RmfT9iJtbzDAMfFpAkrzoNg@mail.gmail.com>
- In-Reply-To
- <2518b1ff-d16d-da95-fdc2-698dddb61a36@web.de>
On Tue, Oct 23, 2018 at 9:19 AM René Scharfe <l.s.r@web.de> wrote:
> With Clang 6 and GCC 8 on Debian I don't get any warnings on master or > 36da893114.
I see it with Clang 7 on Fedora (at least Rawhide but suspect also to affect the next release, now in beta: 29)
> With Clang 6 on OpenBSD I get warnings about the unused khash functions > in delta-islands.c on master, though.
Apple LLVM 9 and 10 will also trigger similar warnings to what you see in OpenBSD and as Junio mentioned recently in a different thread about semantic patches, this currently affects the CI for "Apple":
https://travis-ci.org/git/git/builds/444969342
Carlo