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 18:14:35 EST 2004


Skip

Thanks for the help.
I agree.  Perhaps I'm being "pedantic" :) but I was just
curious if Python source is using stuff that is NOT ANSI C.

Is "long long" an extension of ANSI C? That Python uses?

Chris

On Tue, Feb 10, 2004 at 05:02:10PM -0600, Skip Montanaro wrote:
>
>     Chris> c extension compilation gives this gripe about python itself with
>     Chris> -Wall and -pedantic switches -->
>     Chris> /usr/include/python2.2/longobject.h:48: warning: ISO C89 does not
>     Chris> support `long long'
>
>     Chris> Is there any way to avoid this?
>
> Sure.  Get rid of the -pedantic switch...
>
> 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