[Bf-committers] build error amd64
Ken Hughes
khughes at pacific.edu
Fri Nov 25 00:27:38 CET 2005
Mats Holmberg wrote:
> Hi,
>
> trying to build on my new amd64 system ends in the following:
>
> g++ -pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=0 -DNDEBUG
> -I/home/mats/cvs/bf-blender/build/linux2/source/kernel/gen_messaging
> -Isource/kernel/gen_messaging -Isource/kernel/gen_messaging
> -I/home/mats/cvs/bf-blender/build/linux2/source/kernel/gen_system
> -Isource/kernel/gen_system -Isource/kernel/gen_system -Iintern/string
> -Iintern/moto/include -c -o
> /home/mats/cvs/bf-blender/build/linux2/source/kernel/gen_system/GEN_HashedPtr.o
> source/kernel/gen_system/GEN_HashedPtr.cpp
> source/kernel/gen_system/GEN_HashedPtr.h: In member function ‘unsigned
> int GEN_HashedPtr::hash() const’:
> source/kernel/gen_system/GEN_HashedPtr.h:43: error: cast from ‘void*’ to
> ‘unsigned int’ loses precision
> scons: ***
> [/home/mats/cvs/bf-blender/build/linux2/source/kernel/gen_system/GEN_HashedPtr.o]
> Error 1
> scons: building terminated because of errors.
>
> Using Ubuntu 5.10 (amd64), scons, gcc4. Any help greatly appreciated, as
> always.
Ive got a commit for this ready, but wanted to talk to Ton first. In
the meantime, check #3264 in the bug tracker. You can apply the patch
there and it will build.
Ken
More information about the Bf-committers
mailing list