[New-bugs-announce] [issue6000] compile error on AIX and HP-UX 11.00 - PyNumber_InPlaceOr(newfree, allfree) < 0

Sridhar Ratnakumar report at bugs.python.org
Mon May 11 23:29:36 CEST 2009


New submission from Sridhar Ratnakumar <sridharr at activestate.com>:

cc_r -qlanglvl=ansi -c  -DNDEBUG -O  -I. -IInclude -I./Include  
-DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
"Python/symtable.c", line 767.50: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
"Python/symtable.c", line 826.55: 1506-068 (S) Operation between types
"struct _object*" and "int" is not allowed.
make: *** [Python/symtable.o] Error 1

!
!
!

The lines causing the error is:

	if (PyNumber_InPlaceOr(newfree, allfree) < 0)
		goto error;

...

	if (PyNumber_InPlaceOr(child_free, temp_free) < 0)
		goto error;


!
!
!

On HP-UX 11.00 (parisc and parisc2.0), the error message is:

cc +DAportable -Ae -D_REENTRANT +Z -c  -DNDEBUG -O  -I. -IInclude
-I./Include   -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
cc: "Python/symtable.c", line 767: error 1649: Illegal integer-pointer
combination for <.
cc: "Python/symtable.c", line 767: error 1563: Expression in if must be
scalar.
cc: "Python/symtable.c", line 826: error 1649: Illegal integer-pointer
combination for <.
cc: "Python/symtable.c", line 826: error 1563: Expression in if must be
scalar.
make: *** [Python/symtable.o] Error 1


!
!
!

When I get time, I need to create a patch to fix this.. but if somebody
else already figured out what the issue is, that'd be great too.

----------
components: Build
messages: 87589
nosy: srid
severity: normal
status: open
title: compile error on AIX and HP-UX 11.00 - PyNumber_InPlaceOr(newfree, allfree) < 0
type: compile error
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6000>
_______________________________________


More information about the New-bugs-announce mailing list