[issue4060] PyUnicode_DecodeUTF16(..., byteorder=0) gets it wrong on Mac OS X/PowerPC

Ronald Oussoren report at bugs.python.org
Tue Oct 7 21:54:18 CEST 2008


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

On 7 Oct, 2008, at 18:29, Trent Mick wrote:

>
> Trent Mick <trentm at gmail.com> added the comment:
>
>> I get:
>>
>> sizeof(_Bool)=4 bytes
>>
>> on a G4 PPC.
>
> Same thing on a G5 PPC:
>
> $ cat main.c
> #include <stdio.h>
>
> int main(void) {
>    printf("sizeof(_Bool) is %d\n", sizeof(_Bool));
> }
> $ gcc main.c

What if you compile using 'gcc -arch ppc64 main.c'?

Ronald

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4060>
_______________________________________


More information about the Python-bugs-list mailing list