[Python-Dev] Hundreds of warnings
David Abrahams" <firstname.lastname@example.org
Wed, 15 May 2002 18:02:42 -0500
----- Original Message -----
From: "Tim Peters" <email@example.com>
> Quite a while ago I added this to pyport.h, hoping to do that someday:
> #if LONG_BIT != 8 * SIZEOF_LONG
> /* 04-Oct-2000 LONG_BIT is apparently (mis)defined as 64 on some recent
> * 32-bit platforms using gcc. We try to catch that here at compile-time
> * rather than waiting for integer multiplication to trigger bogus
> * overflows.
> #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc
...which explains why I have to
# define SIZEOF_LONG 4
explicitly to build any Cygwin extension modules.