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

Re: tar-tree.c dereferencing pointer to incomplete type

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 19, 2013, 21:28 UTC
Message-ID
<20130119212851.GA4009@elie.Belkin>
In-Reply-To
<CAPy7p-5vZKzznSny97BZMWHxHPJupO3in7tvjyFOTxBYzw5D4Q@mail.gmail.com>
白い熊 wrote:
> On Sat, Jan 19, 2013 at 6:26 PM, 白い熊 <ShiroiKuma@shiroikuma.org> wrote:
Show 7 quoted lines
>> Moved it and compiles fine. In fact I moved it back now, so it should
>> be finding it again and it still builds fine, no trace of the prior
>> error. I'm dumbfounded! But at least it compiles...
>
> OK, figured it out. It was indeed the wrong tar.h, the one that was
> making it bomb was the kernel headers tar.h from the Android source.
> That explains it quite well.

Hm. Is there anything to do to make our headers specified with -I take precedence over unrelated system headers when processing '#include "foo.h"' directives?

Thanks, Jonathan

Previous: 白い熊
Message 5 of 5 in “tar-tree.c dereferencing pointer to incomplete type”
  1. 白い熊Jan 19, 2013
  2. Duy NguyenJan 19, 2013
  3. 白い熊Jan 19, 2013
  4. 白い熊Jan 19, 2013
  5. Jonathan NiederJan 19, 2013

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.