Skip Menu |
 

This queue is for tickets about the Win32-OLE CPAN distribution.

Report information
The Basics
Id: 100554
Status: new
Priority: 0/
Queue: Win32-OLE

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

Bug Information
Severity: (no value)
Broken in: 0.1712
Fixed in: (no value)



Subject: utf8_to_uvuni is deprecated, W32::OLE wont build on NO_MATHOMS
Download (untitled) / with headers
text/plain 776b
utf8_to_uvuni is deprecated, and not available at all on NO_MATHOMS perl, this quick and dirty patch fixes the problem #if PERL_VERSION < 6 # error Win32::OLE requires Perl 5.6.0 or later #endif #ifdef USE_5005THREADS # error Win32::OLE is incompatible with 5.005 style threads #endif #if PERL_VERSION > 6 # ifndef NO_MATHOMS # define my_utf8_to_uv(s) utf8_to_uvuni(s, NULL) # else /* this has risk of buffer overflow but too complicated to fix */ # define my_utf8_to_uv(s) utf8_to_uvchr_buf(s, s+5, NULL) # endif #else # if PERL_SUBVERSION > 0 # define my_utf8_to_uv(s) utf8_to_uv_simple(s, NULL) # else # define my_utf8_to_uv(s) utf8_to_uv(s, NULL) # endif #endif #ifndef _DEBUG # define DBG(a) #else # define DBG(a) MyDebug a


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.