[haiku-development] Re: compilation problem with addr_t casts

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 11 Jan 2009 17:10:28 +0100 CET

>  I would like to compile Haiku on a Linux box, with gcc4. I tried to
> follow the readme files, but probably I missed something, because the
> compilation fails with gcc errors, like this:  "cast from
> 'fssh_off_t*' to 'fssh_addr_t' loses precision" in several places (in
> src/add-ons/kernel/file_systems/bfs/bfs.h,
> src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp). I can change the
> addr_t casts to cast (uint8*), but it's definitely not a good
> solution. How can I fix it globally ? Any help is appreciated.
>

I'd suppose you are on a 64 bit machine...
Check the readme and dig the ml archive:
http://search.gmane.org/?query=64bit&group=gmane.os.haiku.devel

François.

Other related posts: