[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSControls failing to set status/label on BigEndian/64bit
From: |
Fred Kiefer |
Subject: |
Re: NSControls failing to set status/label on BigEndian/64bit |
Date: |
Wed, 6 Jan 2021 18:31:07 +0100 |
> Am 06.01.2021 um 17:20 schrieb Wolfgang Lux <wolfgang.lux@gmail.com>:
>
>
>
>> Am 06.01.2021 um 17:15 schrieb Wolfgang Lux <wolfgang.lux@gmail.com>:
>>
>>
>>
>>> Am 06.01.2021 um 15:41 schrieb Fred Kiefer <FredKiefer@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
- Re: NSControls failing to set status/label on BigEndian/64bit, (continued)
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/03
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/04
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/04
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/05
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/05
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit,
Fred Kiefer <=
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Richard Frith-Macdonald, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Richard Frith-Macdonald, 2021/01/07