Message22385
While attempting to compile on Solaris 8 64-bit or HPUX
64-bit, Python 2.3.4 has an "error" because LONG_BIT is
not defined properly. This error is incorrect on non-glibc
systems, and Python compiles fine with it disabled.
Here's the incorrect assumption:
#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 config?)."
#endif
This should include something to limit it to only glibc
systems.
- Gregor Richards |
|
Date |
User |
Action |
Args |
2007-08-23 14:26:03 | admin | link | issue1023838 messages |
2007-08-23 14:26:03 | admin | create | |
|