On May 22, 2013, at 8:19 PM, Alexander Burger <a...@software-lab.de> wrote:
> Hi Jorge, > >> I tried to build the emu version on OSX and it failed. Here is the culprit >> line: > > Thanks! Unfortunately, it is not so easy, because then you get a warning > on 32-bit systems: > > cast from pointer to integer of different size [-Wpointer-to-int-cast] > > > So for 32-bits, we must still first cast to an uint32_t. I'd say we > change it to: > > ... > (p > (if *Bits64 > (_genCC "A.n = (uint64_t)(uint8_t*)@1(@2);@3") > (_genCC "A.n = (uint64_t)(uint32_t)(uint8_t*)@1(@2);@3") ) ) > ... > > Does this work for you? If so, I'll put it into the release. Ok, if that's the problem this is nicer… Does it compile without warnings on your 32-bit system?
emu2.patch
Description: Binary data