[issue2388] Compiler warnings when using UCS4

2008-04-06 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

This is now fixed in r62199

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-28 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

This is because in UCS, Py_UNICODE is an unsigned long. In calls to
PyErr_Format, the format specifier %c (int, the UCS2 Py_UNICODE) is
given, so the compiler gives a warning.

--
versions:  -Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-21 Thread Christian Heimes

Christian Heimes [EMAIL PROTECTED] added the comment:

I'll check it out later. I haven't been testing UCS4 builds for more
than a month.

--
assignee:  - tiran
keywords: +easy
nosy: +tiran
priority:  - high

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-18 Thread Benjamin Peterson

New submission from Benjamin Peterson [EMAIL PROTECTED]:

Compiling Python with --enable-unicode=ucs4 yields some compiler
warnings for unicodeobject.c:
In file included from Objects/unicodeobject.c:7807:
Objects/stringlib/string_format.h: In function 'do_conversion':
Objects/stringlib/string_format.h:745: warning: format '%c' expects type
'int', but argument 3 has type 'Py_UNICODE'
In file included from Objects/unicodeobject.c:7807:
Objects/stringlib/string_format.h: In function 'do_conversion':
Objects/stringlib/string_format.h:745: warning: format '%c' expects type
'int', but argument 3 has type 'Py_UNICODE'
Objects/unicodeobject.c: In function 'PyUnicodeUCS4_Format':
Objects/unicodeobject.c:8603: warning: format '%c' expects type 'int',
but argument 3 has type 'Py_UNICODE'
Objects/unicodeobject.c: In function 'PyUnicodeUCS4_Format':
Objects/unicodeobject.c:8603: warning: format '%c' expects type 'int',
but argument 3 has type 'Py_UNICODE'

--
components: Unicode
messages: 63913
nosy: benjamin.peterson
severity: normal
status: open
title: Compiler warnings when using UCS4
type: compile error
versions: Python 2.6, Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-18 Thread Martin v. Löwis

Martin v. Löwis [EMAIL PROTECTED] added the comment:

What operating system/compiler? Both branches? What precise revisions?

--
nosy: +loewis

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-18 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

This is MacOS 10.4, Apple gcc 4.0.1, and revision 61518.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2388] Compiler warnings when using UCS4

2008-03-18 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

There are similar warnings in formater_unicode.c:
In file included from Python/formatter_unicode.c:13:
Python/../Objects/stringlib/formatter.h: In function 'unicode__format__':
Python/../Objects/stringlib/formatter.h:789: warning: format '%c'
expects type 'int', but argument 3 has type 'Py_UNICODE'
In file included from Python/formatter_unicode.c:13:
Python/../Objects/stringlib/formatter.h: In function 'unicode__format__':
Python/../Objects/stringlib/formatter.h:789: warning: format '%c'
expects type 'int', but argument 3 has type 'Py_UNICODE'

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2388
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com