New submission from Дилян Палаузов <dilyan.palau...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11309>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to