From: Luc Van Oostenryck Date: Thu, 07 Dec 2017 09:29:08 GMT Subject: Re: partial_clone_get_default_filter_spec has no callers Message-ID: <20171207092907.lrieior3ncwwc3wh@ltop.local> In-Reply-To: <44d0c556-d5ba-186f-7493-f9900eccb442@ramsayjones.plus.com> On Thu, Dec 07, 2017 at 01:59:26AM +0000, Ramsay Jones wrote: > > BTW, if you are using a version of sparse post v0.5.1, you can > get rid of the only sparse warning on Linux (assuming you don't > build with NO_REGEX set), by using the -Wno-memcpy-max-count option; > I have the following set in my config.mak: > > $ tail -2 config.mak > pack-revindex.sp: SPARSE_FLAGS += -Wno-memcpy-max-count > > $ > > [I haven't sent a proper patch, since the required version of > sparse is not widely available yet.] Note that sparse simply ignore unknown options/flags, so adding it now won't create a problem and can already help those using a recent vesion of sparse. Regards, -- Luc