Subject: | Perl_utf8_to_uv given wrong arguments on 5.6.0 |
This is the stock Perl 5.6.0 on OS X 10.2.8.
Attempting to build Text-Soundex 3.02 I get an error building. This appears to be because the wrong arguments are being passed to utf8_to_uv. utf8n_to_uvchr and utf8_to_uv do
not take the same arguments.
[/usr/local/src/CPAN/Text-Soundex-3.02] perl Makefile.PL
The XS code will be compiled.
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Soundex
[/usr/local/src/CPAN/Text-Soundex-3.02] make test
cp Soundex.pm blib/lib/Text/Soundex.pm
/usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap Soundex.xs > Soundex.xsc && mv Soundex.xsc Soundex.c
cc -c -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os -DVERSION=\"3.02\" -DXS_VERSION=\"3.02\" "-I/System/Library/Perl/darwin/CORE" Soundex.c
Soundex.xs: In function `sv_soundex_utf8':
Soundex.xs:95: warning: passing arg 2 of `Perl_utf8_to_uv' makes pointer from integer without a cast
Soundex.xs:95: error: too many arguments to function `Perl_utf8_to_uv'
Soundex.xs:112: warning: passing arg 2 of `Perl_utf8_to_uv' makes pointer from integer without a cast
Soundex.xs:112: error: too many arguments to function `Perl_utf8_to_uv'
make: *** [Soundex.o] Error 1