New submission from Christian Heimes <[EMAIL PROTECTED]>:

I'm getting a compiler warning on Linux AMD64. It's most probably an
issue related to 64bit builds, because size_t > uint_t on 64bit systems.
Such warnings may hide overflow issues.

gcc -pthread -c -fno-strict-aliasing -g -Wall -Wstrict-prototypes  -I.
-IInclude -I./Include   -DPy_BUILD_CORE -o Objects/obmalloc.o
Objects/obmalloc.c
Objects/obmalloc.c: In function 'new_arena':
Objects/obmalloc.c:529: warning: comparison is always false due to
limited range of data type

I was able to silence the compiler by declaring numarenas as size_t
instead of uint.

----------
components: Build
keywords: 64bit, needs review
messages: 71712
nosy: christian.heimes
priority: release blocker
severity: normal
status: open
title: Objects/obmalloc.c:529: warning: comparison is always false due to 
limited range of data type
type: compile error
versions: Python 2.6, Python 3.0

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to