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.

Author christian.heimes
Recipients amaury.forgeotdarc, christian.heimes, dilyan.palauzov, lemburg
Date 2013-07-06.00:30:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373070606.38.0.805378997098.issue11309@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.7 fails even with --enable-unicode=ucs4:

$ ./configure --with-wctype-functions --enable-unicode=ucs4
$ make 
...
In file included from Objects/unicodectype.c:34:0:
Objects/unicodetype_db.h: In function '_PyUnicodeUCS4_IsWhitespace':
Objects/unicodetype_db.h:3277:5: warning: implicit declaration of function 'iswspace' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsLowercase':
Objects/unicodectype.c:192:5: warning: implicit declaration of function 'iswlower' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsUppercase':
Objects/unicodectype.c:197:5: warning: implicit declaration of function 'iswupper' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_ToLowercase':
Objects/unicodectype.c:202:5: warning: implicit declaration of function 'towlower' [-Wimplicit-function-declaration]
Objects/unicodectype.c:202:12: warning: incompatible implicit declaration of built-in function 'towlower' [enabled by default]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_ToUppercase':
Objects/unicodectype.c:207:5: warning: implicit declaration of function 'towupper' [-Wimplicit-function-declaration]
Objects/unicodectype.c:207:12: warning: incompatible implicit declaration of built-in function 'towupper' [enabled by default]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsAlpha':
Objects/unicodectype.c:212:5: warning: implicit declaration of function 'iswalpha' [-Wimplicit-function-declaration]

I have attached a patch that checks for wctype.h and includes it for WANT_WCTYPE_FUNCTIONS.
History
Date User Action Args
2013-07-06 00:30:06christian.heimessetrecipients: + christian.heimes, lemburg, amaury.forgeotdarc, dilyan.palauzov
2013-07-06 00:30:06christian.heimessetmessageid: <1373070606.38.0.805378997098.issue11309@psf.upfronthosting.co.za>
2013-07-06 00:30:06christian.heimeslinkissue11309 messages
2013-07-06 00:30:05christian.heimescreate