[ python-Bugs-1407069 ] bz2module with no long long type support

SourceForge.net noreply at sourceforge.net
Mon Jan 16 07:33:01 CET 2006


Bugs item #1407069, was opened at 2006-01-16 13:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1407069&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: kbob_ru (kbob_ru)
Assigned to: Nobody/Anonymous (nobody)
Summary: bz2module with no long long type support

Initial Comment:
in Modules/bz2module.c

#if SIZEOF_LONG >= 8
#define BZS_TOTAL_OUT(bzs) \
	(((long)bzs->total_out_hi32 << 32) + bzs-
>total_out_lo32)
#elif SIZEOF_LONG_LONG >= 8
#define BZS_TOTAL_OUT(bzs) \
	(((PY_LONG_LONG)bzs->total_out_hi32 << 32) + 
bzs->total_out_lo32)
#else
#define BZS_TOTAL_OUT(bzs) \
	bzs->total_out_lo32;
#endif

when #else statmen execute it leads to error, because 
no semicolon needed in the end of definition:

#define BZS_TOTAL_OUT(bzs) \
	bzs->total_out_lo32;

This error found in version 2.3.5 and 2.4.2.

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

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


More information about the Python-bugs-list mailing list