[Python-Dev] GCC 4.x incompatibility

"Martin v. Löwis" martin at v.loewis.de
Thu Sep 21 20:13:12 CEST 2006


Georg Brandl schrieb:
> Is it noted somewhere that building Python with GCC 4.x results in
> problems such as abs(-sys.maxint-1) being negative?

Yes, it's in the README (although it claims problems only exist with
4.1 and 4.2; 4.0 seems to work fine for me).

> I think this is something users may want to know.

See what I wrote. Users are advised to either not use that compiler,
or add -fwrapv.

Regards,
Martin


More information about the Python-Dev mailing list