[haiku-commits] Re: r40858 - in haiku/trunk: headers/build/os/storage headers/os/storage src/build/libbe/storage src/build/libbe/storage/mime src/kits/storage ...

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 08 Mar 2011 19:22:22 +0100

Jonas Sundström <jonas@xxxxxxxxxxx> wrote:
> Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
 ...
> /Source/haiku/haiku/src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp:277:
>  no matching function for call to `BAppFileInfo::GetCatalogEntry (char[720])'
 ...
> gcc -c "src/build/libbe/storage/mime/UpdateMimeInfoThread.cpp" -O2 -Wall
>  -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith
>  -Wcast-align -Wsign-compare -Wno-multichar
>  -include headers/build/HaikuBuildCompatibility.h 
> -D_ZETA_USING_DEPRECATED_API_=1
>  -D_ZETA_TS_FIND_DIR_=1 -DARCH_x86 -D_NO_INLINE_ASM -DCOMPILE_FOR_R5
>  -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_PLATFORM_HAIKU
>  -Ibuild/user_config_headers -Ibuild/config_headers -Isrc/tools
>  -Igenerated/objects/common/tools 
> -Igenerated/objects/haiku_host/x86/common/tools
>  -Igenerated/objects/haiku/x86/common/tools -Isrc/bin -I-
>  -Iheaders/build/private/app -Iheaders/build/private/storage
>  -Iheaders/build/host/haiku_host
>  -o "generated/objects/haiku_host/x86/release/tools/UpdateMimeInfoThread.o" ;
 ...
> ...skipped <build>mimeset for lack of <src!tools>UpdateMimeInfoThread.o...
 ...
> one would think the header gets included from somewhere

Rene helped me see that the host platform's (Haiku's)
/boot/develop/headers/os/storage/AppFileInfo.h
is the one that gets included here.

I tried commenting out the "USES_BE_API" in the five Jamfiles
of src/build/libbe  <libbe_build>
but AppFileInfo.h still gets included from /boot/develop/headers.

Anyone familiar with the build system got any clues for me here?

/Jonas


Other related posts: