[Bf-committers] build error amd64

Mats Holmberg mats.holmberg at saunalahti.fi
Fri Nov 25 05:49:29 CET 2005


Ken Hughes wrote:

> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
Ok, thanks for that! I'll hold..

Mats


More information about the Bf-committers mailing list