Python.h problem-> /usr/include/python2.2/longobject.h:48: warning: ISO C89 does not support `long long'

seberino at spawar.navy.mil seberino at spawar.navy.mil
Tue Feb 10 20:14:05 EST 2004


Skip

Thanks,  that explains a lot.

Extensions to ANSI C don't cause any problems
per se that I can think of.

However, I know in near future all Python
integers will be of type "Python long" and there
won't be "Python ints" anymore IIRC.

I wonder if Python source will still use 64 bit ints then in
implementation.

chris

On Tue, Feb 10, 2004 at 06:50:26PM -0600, Skip Montanaro wrote:
>
>     Chris> Is "long long" an extension of ANSI C? That Python uses?
>
> Yup.  Python's build process knows the difference between 'long long' (the
> way GCC spells it) and _int64 (the way MSVC spells it).  No other extensions
> are currently supported.  Are there other ways to spell "64-bit int" in use
> at the moment?
>
> Skip
>

--
_______________________________________

Christian Seberino, Ph.D.
SPAWAR Systems Center San Diego
Code 2872
49258 Mills Street, Room 158
San Diego, CA 92152-5385
U.S.A.

Phone: (619) 553-9973
Fax  : (619) 553-6521
Email: seberino at spawar.navy.mil
_______________________________________




More information about the Python-list mailing list