[openbeos] Build error: bfs.h error: cast from ‘const small_data*’ to ‘fssh_addr_t’ loses precision

  • From: Raymond Rodgers <obos@xxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 07 Apr 2008 14:33:43 -0700

I've been getting a build error under Linux (Fedora 8 x86_64 regardless of whether in normal or "linux32" mode) for the last couple of weeks:


src/add-ons/kernel/file_systems/bfs/bfs.h: In member function ‘bool small_data::IsLast(const bfs_inode*) const’: src/add-ons/kernel/file_systems/bfs/bfs.h:375: error: cast from ‘const small_data*’ to ‘fssh_addr_t’ loses precision src/add-ons/kernel/file_systems/bfs/bfs.h:375: error: cast from ‘const bfs_inode*’ to ‘fssh_addr_t’ loses precision

I've removed that header file, and updated from svn several times but I continue to get the error which prevents bfs_disk_system.o from being built, and in turn prevents the overall build from completing. I seem to be unique in this error, as the nightly builds contnue to be built, but is anyone else getting this error, or know of a fix?

Thanks,
Raymond


Other related posts: