git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: enable -Wsparse-error for DEVELOPER build

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 3, 2020, 02:50 UTC
Message-ID
<xmqqtuu7rw5b.fsf@gitster.c.googlers.com>
In-Reply-To
<43aadae9-a4c1-f1e4-6902-c05af36fcf19@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
> How are you installing sparse? (I am using Linux Mint 20, based on
> Ubuntu 20.04, whose sparse package version is 0.6.1-2build1 - which
> is to say too old; you require version 0.6.2 or greater. Building
> from source, I am currently using v0.6.3-76-gf680124b).
Built and installed in ~/$arch/gitstuff/bin which is on my $PATH
[remote "origin"]
	url = git://git.kernel.org/pub/scm/devel/sparse/sparse.git
> My concern was more about how the CI system obtains/installs/builds a
> sufficiently new version of sparse. Otherwise, 'make sparse' won't do
> very much. ;-)  As I said, I don't know what's involved in getting
> that to work.

Ah, yes, it would be a disaster to trigger false positive by using old version like 0.6.1, so we may end up having to bring our own version in, which is more work X-<.

Thanks.
Previous: Ramsay JonesNext: Johannes Schindelin
Message 6 of 11 in “upload-pack.c: fix a sparse warning”
  1. upload-pack.c: fix a sparse warningRamsay Jones, Oct 31, 2020
  2. Makefile: enable -Wsparse-error for DEVELOPER buildJunio C Hamano, Oct 31, 2020
  3. Ramsay JonesNov 2, 2020
  4. Junio C HamanoNov 2, 2020
  5. Ramsay JonesNov 3, 2020
  6. Junio C HamanoNov 3, 2020
  7. Johannes SchindelinNov 4, 2020
  8. Ramsay JonesNov 4, 2020
  9. Junio C HamanoNov 4, 2020
  10. Ramsay JonesNov 4, 2020
  11. Josh SteadmonNov 2, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.