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