Re: [pure-lang-users] 64-bit build-problems with 0.1/trunk
Status: Beta
Brought to you by:
agraef
|
From: Albert G. <Dr....@t-...> - 2008-04-30 00:38:01
|
Tim Haynes wrote: > Hi - I'm here too ;) Great, welcome, get yourself a drink. :) > | runtime.cc: In function 'pure_expr* pure_intval(pure_expr*)': > | runtime.cc:678: error: cast from 'void*' to 'uint32_t' loses precision > | runtime.cc: In function 'pure_expr* pointer_to_bigint(void*)': > | runtime.cc:728: error: cast from 'void*' to 'uint32_t' loses precision > | runtime.cc:733: error: cast from 'void*' to 'uint32_t' loses precision Yeah, those casts to 32 bit are intended, but apparently you're not allowed to cast from a 64 bit pointer to uint32_t directly. Could you please try whether (uint32_t)(uint64_t) works? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |