This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bz2module with no long long type support
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: kbob_ru, nnorwitz
Priority: normal Keywords:

Created on 2006-01-16 06:33 by kbob_ru, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27299 - (view) Author: kbob_ru (kbob_ru) Date: 2006-01-16 06:33
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.
msg27300 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-01-17 05:29
Logged In: YES 
user_id=33168

Thanks!  Fixed in head and 2.4 (we don't maintain 2.3 any
longer).

Committed revision 42080.
Committed revision 42081. (2.4)
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42798
2006-01-16 06:33:01kbob_rucreate