[New-bugs-announce] [issue11309] #include <wctype.h> in Objects/unicodetype_db.h and Objects/unicodectype.c

Дилян Палаузов report at bugs.python.org
Thu Feb 24 15:51:44 CET 2011


New submission from Дилян Палаузов <dilyan.palauzov at aegee.org>:

As of python 2.7.1 configured with "--enable-ipv6 --enable-unicode --with-system-expat --with-system-ffi --with-signal-module --with-threads --with-wctype-functions --enable-shared":

Please #include <wctype.h> in Objects/unicodetype_db.h and Objects/unicodectype.c

compilation produces the warnings:

In file included from Objects/unicodectype.c:34:0:
Objects/unicodetype_db.h: In function '_PyUnicodeUCS2_IsWhitespace':
Objects/unicodetype_db.h:3277:5: warning: implicit declaration of function 'iswspace'
Objects/unicodectype.c: In function '_PyUnicodeUCS2_IsLowercase':
Objects/unicodectype.c:192:5: warning: implicit declaration of function 'iswlower'
Objects/unicodectype.c: In function '_PyUnicodeUCS2_IsUppercase':
Objects/unicodectype.c:197:5: warning: implicit declaration of function 'iswupper'
Objects/unicodectype.c: In function '_PyUnicodeUCS2_ToLowercase':
Objects/unicodectype.c:202:5: warning: implicit declaration of function 'towlower'
Objects/unicodectype.c:202:12: warning: incompatible implicit declaration of built-in function 'towlower'
Objects/unicodectype.c: In function '_PyUnicodeUCS2_ToUppercase':
Objects/unicodectype.c:207:5: warning: implicit declaration of function 'towupper'
Objects/unicodectype.c:207:12: warning: incompatible implicit declaration of built-in function 'towupper'
Objects/unicodectype.c: In function '_PyUnicodeUCS2_IsAlpha':
Objects/unicodectype.c:212:5: warning: implicit declaration of function 'iswalpha'

----------
components: Build
messages: 129266
nosy: dilyan.palauzov
priority: normal
severity: normal
status: open
title: #include <wctype.h> in Objects/unicodetype_db.h and Objects/unicodectype.c
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11309>
_______________________________________


More information about the New-bugs-announce mailing list