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

[PATCH 0/9] misc. cleanups

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 7, 2007, 01:44 UTC
Message-ID
<20070307014403.GA26482@spearce.org>

This is a series of various cleanups that I have pending at the front of my pack v4 topic. The earlier ones are annoying nits, the later ones fix compiler errors caused by compiling with:

--snip--
  CFLAGS += -Wall -ansi -pedantic -std=c99
  
  ifdef strict
          CFLAGS += -Werror
          CFLAGS += -Wfour-char-constants
          CFLAGS += -fnon-lvalue-assign
          CFLAGS += -Wdeclaration-after-statement
          CFLAGS += -Wpointer-arith
          CFLAGS += -Wbad-function-cast
          CFLAGS += -Wcast-align
          CFLAGS += -Wwrite-strings
          CFLAGS += -Wshorten-64-to-32
  
          # No, currently a huge set.
          #CFLAGS += -Wsign-compare
  
          # No, only in diffcore-rename and that's ok.
          #CFLAGS += -Wfloat-equal
  
          # No, unused parameters, -Wsign-compare, missing initializers.
          # CFLAGS += -Wextra
  
          # No, memcmp trips on signed/unsigned conversion.
          # CFLAGS += -Wconversion
  endif
--snap--
-- 
Shawn.
Message 1 of 1 in “misc. cleanups”
  1. 0/9 misc. cleanupsShawn O. Pearce, Mar 7, 2007

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.