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

build warnings

From
Michael Wookey <michaelwookey@gmail.com>
Date
Jan 29, 2010, 09:03 UTC
Message-ID
<d2e97e801001290103r5b9cfc2aq8daec90c8c88f2ff@mail.gmail.com>
FYI,

With current master (dace5dd1), the following build warnings appear on Ubuntu 9.10 (x86):

  run-command.c: In function ‘notify_parent’:
  run-command.c:70: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
  run-command.c: In function ‘die_child’:
  run-command.c:80: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
  run-command.c:81: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
  run-command.c:82: warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
These warnings were introduced by the following commits:
  2b541bf8 ("start_command: detect execvp failures early")
  a5487ddf ("start_command: report child process setup errors to the
parent's stderr")
The GCC details are:
  ~$ gcc --version
  gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
Next: Jeff King
Message 1 of 3 in “build warnings”
  1. Michael WookeyJan 29, 2010
  2. Jeff KingJan 29, 2010
  3. Erik Faye-LundJan 29, 2010

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.