> Am 06.01.2021 um 17:20 schrieb Wolfgang Lux <wolfgang....@gmail.com>:
>
>
>
>> Am 06.01.2021 um 17:15 schrieb Wolfgang Lux <wolfgang....@gmail.com>:
>>
>>
>>
>>> Am 06.01.2021 um 15:41 schrieb Fred Kiefer <fredkie...@gmx.de>:
>>>
>>>
>>> The next step would be to compare these values with the ones you get on
>>> amd64. But before that, could you please run the base tests on ppc64? Maybe
>>> you get already a failing test there and this would just explain the
>>> behaviour. We always should start looking for an issue from ground up. If
>>> base is already broken there is no use in trying to pin it down in gui.
>>
>> I don’t think you need any further testing. The _highlightsByMask member is
>> declared as NSInteger in NSButtonCell.h (which means 64 bits on x86-64 and
>> ppc64) but unarchived as unsigned int in NSButtonCell.m (which means 32
>> bits) and big endian architectures as less forgiving on such mismatches.
>>
>> The same applies to (at least) _showAltState mask.
>
> And encodeWithCoder: seems to get this wrong for both members, too.
Thank you Wolfgang,
I will try to correct the code there.
Cheers,
Fred