Subject: | test failure on x86_64 |
On mandriva linux x86_64, with perl 5.8.8, and gcc 4.2.2:
[guillomovitch@seggie Text-Unaccent-1.08]$ perl -I blib/lib -I
blib/arch/ t/unac.t
1..4
# Running under perl version 5.008008 for linux
# Current time local: Sun Sep 16 19:13:20 2007
# Current time GMT: Sun Sep 16 17:13:20 2007
# Using Test.pm version 1.25
not ok 1
# Test 1 got: <UNDEF> (t/unac.t at line 24)
# Expected: "ete" (removing accents from �t� (1))
# t/unac.t line 24 is: ok(unac_string("ISO-8859-1", "�t�"), "ete",
"removing accents from �t� (1)");
not ok 2
# Test 2 got: <UNDEF> (t/unac.t at line 25)
# Expected: "ete" (removing accents from �t� (2))
# t/unac.t line 25 is: ok(unac_string("ISO-8859-1", "�t�"), "ete",
"removing accents from �t� (2)");
ok 3
ok 4
Compilation gives some warnings if that matters:
cc -c -I. -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC
"-I/usr/lib/perl5/5.8.8/x86_64-linux/CORE" -DHAVE_CONFIG_H Unaccent.c
Unaccent.xs: In function ‘XS_Text__Unaccent_unac_string’:
Unaccent.xs:71: attention : passing argument 5 of ‘unac_string’ from
incompatible pointer type
Unaccent.xs: In function ‘XS_Text__Unaccent_unac_string_utf16’:
Unaccent.xs:88: attention : passing argument 4 of ‘unac_string_utf16’
from incompatible pointer type