[haiku-development] Re: Differences in Errors.h (installed vs. build header)

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 06 Aug 2012 12:29:29 +0200

On 2012-08-06 at 01:27:56 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> It seems that other non-suffixed headers are suffering the same problem.
> With my latest commit, posix_target/target_size_t.h include's
> <stddef.h>, which is picked up as /usr/include/stddef.h.  That in turn
> includes <sys/cdefs.h>, <sys/_null.h>, <sys/_types.h> and this error
> greets me after jamming libroot_build.so
[...]
> So ... is something missing or not setup properly in my tree?  Should
> all the compiler headers be picked up through jam -a configure_build?

I don't think anything is wrong. It's just that FreeBSD seems to wrap/replace 
compiler headers with OS headers which other OSs don't. I guess you'll just 
have to do the HaikuHostBuildConfig.h thing for all concerned headers.

CU, Ingo

Other related posts: