Skip Menu |

This queue is for tickets about the Tripletail CPAN distribution.

Report information
The Basics
Id: 21029
Status: resolved
Priority: 0/
Queue: Tripletail

People
Owner: HIO [...] cpan.org
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc: HIO [...] cpan.org

Bug Information
Severity: Critical
Broken in: 0.15
Fixed in: (no value)



Subject: Tripletail::HtmlFilter compilation fail: no _strncasecmp
perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 MS VC 6.0. C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\typemap HtmlFilter.xs > HtmlFilter.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv HtmlFilter.xsc HtmlFilter.c cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" "-IC:\Perl\lib\CORE" HtmlFilter.c HtmlFilter.c HtmlFilter.xs(180) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(212) : warning C4013: 'strncasecmp' undefined; assuming extern returning int HtmlFilter.xs(619) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(644) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(656) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(658) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(662) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(666) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(677) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(678) : warning C4018: '>=' : signed/unsigned mismatch HtmlFilter.xs(688) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(689) : warning C4018: '>=' : signed/unsigned mismatch HtmlFilter.xs(700) : warning C4018: '<' : signed/unsigned mismatch HtmlFilter.xs(701) : warning C4018: '>=' : signed/unsigned mismatch HtmlFilter.xs(714) : warning C4018: '<' : signed/unsigned mismatch Running Mkbootstrap for Tripletail::HtmlFilter () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 HtmlFilter.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Tripletail::HtmlFilter\", 'DLBASE' => 'HtmlFilter', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Tripletail\HtmlFilter\HtmlFilter.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 HtmlFilter.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:HtmlFilter.def Creating library blib\arch\auto\Tripletail\HtmlFilter\HtmlFilter.lib and object blib\arch\auto\Tripletail\HtmlFilter\HtmlFilter.exp HtmlFilter.obj : error LNK2001: unresolved external symbol _strncasecmp blib\arch\auto\Tripletail\HtmlFilter\HtmlFilter.dll : fatal error LNK1120: 1 unresolved externals ------- Alexandr Ciornii, http://chorny.net
fixed in CVS. --- ext/Tripletail-HtmlFilter/HtmlFilter.xs 26 Jul 2006 05:40:38 - 0000 1.12 +++ ext/Tripletail-HtmlFilter/HtmlFilter.xs 17 Aug 2006 01:55:42 - 0000 1.13 @@ -14,6 +14,10 @@ #include <string.h> +#ifdef _MSC_VER /* Microsoft Visual C++ */ +#define strncasecmp(s1,s2,n) _strnicmp(s1,s2,n) +#endif + thank you.