[Python-bugs-list] [ python-Bugs-710285 ] Rename definition of LONG_LONG

SourceForge.net noreply@sourceforge.net
Sat, 29 Mar 2003 02:21:01 -0800


Bugs item #710285, was opened at 2003-03-26 20:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=710285&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: The Written Word (Albert Chin) (tww-china)
Assigned to: Martin v. Löwis (loewis)
Summary: Rename definition of LONG_LONG

Initial Comment:
Can we rename the LONG_LONG definition in longobject.h
and pyport.h to PY_LONG_LONG or some other name? It
causes problems on HP-UX with the HP C++ compiler:
http://h21007.www2.hp.com/cxx-dev/CXX/cxx-dev.0303/0100.html

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-03-29 11:21

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. I have applied it as

utilities.tex 1.9
longobject.h 2.29
pyport.h 2.60
_testcapimodule.c 1.20
addrinfo.h 1.5
bz2module.c 1.16
posixmodule.c 2.294
resource.c 2.29
socketmodule.c 1.258
structmodule.c 2.60
longobject.c 1.157
pyconfig.h 1.19
getargs.c 2.97
modsupport.c 2.66
NEWS 1.704

I won't backport it to 2.2, as it may break existing
extension modules.

----------------------------------------------------------------------

Comment By: The Written Word (Albert Chin) (tww-china)
Date: 2003-03-29 00:16

Message:
Logged In: YES 
user_id=119770

Ok, file upload sucks. Try:
ftp://ftp.thewrittenword.com/outgoing/pub/python-2.2.2-710285

----------------------------------------------------------------------

Comment By: The Written Word (Albert Chin) (tww-china)
Date: 2003-03-29 00:15

Message:
Logged In: YES 
user_id=119770

Ok, let's try this again.

----------------------------------------------------------------------

Comment By: The Written Word (Albert Chin) (tww-china)
Date: 2003-03-29 00:12

Message:
Logged In: YES 
user_id=119770

Ok, try this patch. The first one didn't change all the
files. Tested on HP-UX 11i (11.11) and Tru64 UNIX 5.1.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-03-28 23:46

Message:
Logged In: YES 
user_id=21627

Can you provide a patch?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=710285&group_id=5470