in reply to Re^8: Warnings on unused variables?
in thread Warnings on unused variables?

I get a different result, with no segfault

That's the same result, with no segfault

My current Windows test box is running ActiveState

Same here.

Did it pass all of the tests in 'make test' in your build environment?

Yes:

>vcvars32 Setting environment for using Microsoft Visual C++ tools. >cpan CPAN: File::HomeDir loaded ok (v0.80) cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled cpan[1]> test warnings::unused CPAN: Storable loaded ok (v2.15) Going to read C:\progs\perl588\cpan\Metadata Database was generated on Fri, 26 Sep 2008 09:26:47 GMT Running test for module 'warnings::unused' Running make for G/GF/GFUJI/warnings-unused-0.01.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.015) Checksum for C:\progs\perl588\cpan\sources\authors\id\G\GF\GFUJI\warni +ngs-unused-0.01.tar.gz ok CPAN: YAML loaded ok (v0.66) CPAN: Archive::Tar loaded ok (v1.38) warnings-unused-0.01/ warnings-unused-0.01/.cvsignore warnings-unused-0.01/Changes warnings-unused-0.01/example/ warnings-unused-0.01/example/lint.pl warnings-unused-0.01/example/simple.pl warnings-unused-0.01/inc/ warnings-unused-0.01/inc/Module/ warnings-unused-0.01/inc/Module/Install/ warnings-unused-0.01/inc/Module/Install/Base.pm warnings-unused-0.01/inc/Module/Install/Makefile.pm warnings-unused-0.01/inc/Module/Install/MakeMaker.pm warnings-unused-0.01/inc/Module/Install/Metadata.pm warnings-unused-0.01/inc/Module/Install.pm warnings-unused-0.01/Makefile.PL warnings-unused-0.01/MANIFEST warnings-unused-0.01/META.yml warnings-unused-0.01/ppport.h warnings-unused-0.01/README warnings-unused-0.01/t/ warnings-unused-0.01/t/00_load.t warnings-unused-0.01/t/01_unused.t warnings-unused-0.01/t/02_used.t warnings-unused-0.01/t/03_in_mod.t warnings-unused-0.01/t/99_pod-coverage.t warnings-unused-0.01/t/99_pod.t warnings-unused-0.01/t/tlib/ warnings-unused-0.01/t/tlib/Foo.pm warnings-unused-0.01/unused.pm warnings-unused-0.01/unused.xs CPAN: File::Temp loaded ok (v0.20) CPAN.pm: Going to build G/GF/GFUJI/warnings-unused-0.01.tar.gz Checking if your kit is complete... Looks good Writing Makefile for warnings::unused Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cp unused.pm blib\lib\warnings\unused.pm C:\Progs\perl588\bin\perl.exe "-Iinc" C:\Progs\perl588\lib\Ext +Utils\xsubpp -typemap C:\progs\perl588\lib\ExtUtils\typemap unused. +xs > unused.xsc && C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils:: +Command -e mv unused.xsc unused.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE - +DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT +_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01 +\" "-IC:\progs\perl588\lib\CORE" unused.c unused.c Running Mkbootstrap for warnings::unused () C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils::Command -e c +hmod 644 unused.bs C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils::Mksymlists +-e "Mksymlists('NAME'=>\"warnings::unused\", 'DLBASE' => 'unused', 'D +L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => [ +]);" link -out:blib\arch\auto\warnings\unused\unused.dll -dll -nolo +go -nodefaultlib -debug -opt:ref,icf -libpath:"C:\progs\perl588\lib\ +CORE" -machine:x86 unused.obj C:\progs\perl588\lib\CORE\perl58.lib + oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg3 +2.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib u +uid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32 +.lib msvcrt.lib -def:unused.def Creating library blib\arch\auto\warnings\unused\unused.lib and obje +ct blib\arch\auto\warnings\unused\unused.exp C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils::Command -e c +hmod 755 blib\arch\auto\warnings\unused\unused.dll No root path(s) specified at C:/Progs/perl588/lib/ExtUtils/Command.pm +line 109 C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils::Command -e c +p unused.bs blib\arch\auto\warnings\unused\unused.bs C:\Progs\perl588\bin\perl.exe "-Iinc" -MExtUtils::Command -e c +hmod 644 blib\arch\auto\warnings\unused\unused.bs GFUJI/warnings-unused-0.01.tar.gz nmake -- OK
Running make test Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\Progs\perl588\bin\perl.exe "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00_load............1/1 # Testing warnings::unused 0.01 t/00_load............ok t/01_unused..........ok t/02_used............ok t/03_in_mod..........ok t/99_pod-coverage....ok t/99_pod.............ok All tests successful. Files=6, Tests=20, 2 wallclock secs ( 0.11 usr + 0.05 sys = 0.16 CP +U) Result: PASS GFUJI/warnings-unused-0.01.tar.gz nmake test -- OK cpan[2]>

Replies are listed 'Best First'.
Re^10: Warnings on unused variables?
by AZed (Monk) on Sep 28, 2008 at 05:33 UTC

    Ah, that's the difference. I pulled down 0.02, you have 0.01. The segfault may have just been fixed, since that upload is new.

      My cpan only sees 0.01 at the moment. There's a "recent" command, but it needs XML::LibXML. I installed XML-LibXML using ppm, but it fails to load due to some DLL incompatibility ("Perl_sv_2iv_flags could not be located in the dynamic link library perl58.dll"). Not going to worry about it.