Re: [PATCH v11 00/12] Reftable support git-core
From: Junio C Hamano <hidden>
Date: 2020-05-06 04:29:25
"Han-Wen Nienhuys via GitGitGadget" [off-list ref] writes:
This adds the reftable library, and hooks it up as a ref backend.
I queued this to 'pu', and we are seeing
https://github.com/git/git/runs/648285159
The ci/run-static-analysis.sh job's failure report ends like so:
HDR reftable/record.h
HDR reftable/refname.h
HDR reftable/reftable.h
HDR reftable/slice.h
HDR reftable/stack.h
HDR reftable/system.h
HDR reftable/tree.h
HDR reftable/writer.h
HDR remote.h
In file included from reftable/refname.hcc:2:0:
./reftable/refname.h:12:24: error: field ‘tab’ has incomplete type
struct reftable_table tab;
^~~
./reftable/refname.h:32:13: error: ‘struct reftable_ref_record’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct reftable_ref_record *recs, size_t sz);
^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [reftable/refname.hco] Error 1
Makefile:2842: recipe for target 'reftable/refname.hco' failed
make: *** Waiting for unfinished jobs....
Thanks.