Re: Bug#1105110: python3.14 FTBFS on m68k: Assertion `!PyStackRef_IsTaggedInt(ref)' failed
Hi Laurent,
On Wed, 2025-05-14 at 10:10 +0200, Laurent Vivier wrote:
> You can use __alignof__() to have the data type alignment:
>
> int main(void)
> {
> printf("alignof(short) %ld\n", __alignof__(short));
> printf("alignof(int) %ld\n", __alignof__(int));
> printf("alignof(long) %ld\n", __alignof__(long));
> printf("alignof(long long) %ld\n", __alignof__(long long));
> }
>
> On x86_64, it gives:
>
> alignof(short) 2
> alignof(int) 4
> alignof(long) 8
> alignof(long long) 8
Is alignof() supported in ancient versions of GCC and the Sun compiler?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: