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

Re: build deps

From
Thiago Farina <tfransosi@gmail.com>
Date
Oct 15, 2012, 17:51 UTC
Message-ID
<CACnwZYdpuju4VtvRxNDRSTwnCCFYK4j_f=h9eCoLPBWHKF7LsA@mail.gmail.com>
In-Reply-To
<507C2F6E.9060100@drmicha.warpmail.net>

On Mon, Oct 15, 2012 at 12:44 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:

Show 18 quoted lines
>> clang reported this:
>> combine-diff.c:1006:19: warning: adding 'int' to a string does not
>> append to the string [-Wstring-plus-int]
>>                 prefix = COLONS + offset;
>>                          ~~~~~~~^~~~~~~~
>> combine-diff.c:1006:19: note: use array indexing to silence this
>> warning
>>                 prefix = COLONS + offset;
>>                                 ^
>>                          &      [       ]
>> 1 warning generated.
>
> Does
>
> &COLONS[offset]
>
> silence that?
>
Yes.
Previous: Michael J GruberNext: Junio C Hamano
Message 10 of 13 in “build deps”
  1. Thiago FarinaOct 8, 2012
  2. Andrew WongOct 8, 2012
  3. Thiago FarinaOct 8, 2012
  4. Thiago FarinaOct 8, 2012
  5. Andrew WongOct 8, 2012
  6. Thiago FarinaOct 11, 2012
  7. Andrew WongOct 12, 2012
  8. Thiago FarinaOct 12, 2012
  9. Michael J GruberOct 15, 2012
  10. Thiago FarinaOct 15, 2012
  11. Junio C HamanoOct 15, 2012
  12. David AguilarOct 16, 2012
  13. Michael J GruberOct 16, 2012

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.