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

Re: [PATCH] Do not ignore errors during make check

From
Linus Torvalds <torvalds@osdl.org>
Date
Dec 14, 2005, 23:38 UTC
Message-ID
<Pine.LNX.4.64.0512141535130.3292@g5.osdl.org>
In-Reply-To
<20051214210932.GA2642@kvasir.watson.ibm.com>
On Wed, 14 Dec 2005, Amos Waterland wrote:
>
>  check:
> -	for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i; done
> +	for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || break; done
Actually, you might be better off with just
	sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) *.c

these days. It will cause some interesting warnings (it actually cross-checks things, and is unhappy about multiple "main()" declarations with different types ;), but especially with eventual libification it might even be a good idea to try to avoid global functions with the same names in different programs ("main", of course, is special, sparse is just too stupid to know).

		Linus
Previous: Amos Waterland
Message 4 of 4 in “Do not ignore errors during make check”
  1. Do not ignore errors during make checkAmos Waterland, Dec 14, 2005
  2. Junio C HamanoDec 14, 2005
  3. Amos WaterlandDec 14, 2005
  4. Linus TorvaldsDec 14, 2005

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.