Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 53465
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.028_501
Fixed in: 804.028_502



Subject: Compiler error on 5.11.3 (UTF8_MAXLEN_UCL not defined)
Download (untitled) / with headers
text/html 1001b
Hi,

I have experienced the following compile error while compiling encGlue.c (Tk-804.028_501, perl 5.11.3):

encGlue.c: In function 'Tcl_UniCharToUpper':
encGlue.c:52: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this function)
encGlue.c:52: error: (Each undeclared identifier is reported only once
encGlue.c:52: error: for each function it appears in.)
encGlue.c: In function 'Tcl_UniCharToLower':
encGlue.c:61: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this function)
encGlue.c: In function 'Tcl_UniCharToUtfDString':
encGlue.c:186: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this function)
encGlue.c: In function 'CallEncode':

The reason is that perl 5.11.3 (and upcomming 5.12.0) does not define UTF8_MAXLEN_UCLC any more in perl/lib/CORE/utf8.h. So it will be necessary to find out a way how to go without it.

--
kmx


On Thu Jan 07 03:08:46 2010, KMX wrote: Show quoted text
> Hi, > > I have experienced the following compile error while compiling > encGlue.c > (Tk-804.028_501, perl 5.11.3): > > encGlue.c: In function 'Tcl_UniCharToUpper': > encGlue.c:52: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this > function) > encGlue.c:52: error: (Each undeclared identifier is reported only once > encGlue.c:52: error: for each function it appears in.) > encGlue.c: In function 'Tcl_UniCharToLower': > encGlue.c:61: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this > function) > encGlue.c: In function 'Tcl_UniCharToUtfDString': > encGlue.c:186: error: 'UTF8_MAXLEN_UCLC' undeclared (first use in this > function) > encGlue.c: In function 'CallEncode': > The reason is that perl 5.11.3 (and upcomming 5.12.0) does not define > UTF8_MAXLEN_UCLC any more in perl/lib/CORE/utf8.h. So it will be > necessary to > find out a way how to go without it. >
Thanks, patched in the subversion repo: https://svn.perl.org/modules/Tk/trunk@13764 Regards, Slaven
I have just tested - revision 13772 + perl 5.11.4 + mingw-w64(32bit) compiler

Compile OK, all tests PASS.

Thanks.

--
kmx

Just for record: Fixed in Tk-804.028_502


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.