PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\instantclient_11_2;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\mysql\bin Start 2012-10-21T04:03:15 ActivePerl-1600 CPAN-1.9402 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.16/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.16\site\bin;C:\Perl64-5.16\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\INSTAN~1;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Going to read 'C:\cpanfly-5.16\var\cpan\Metadata' Database was generated on Sun, 21 Oct 2012 08:13:59 GMT ______________________ D i s t r o P r e f s ______________________ Win32-API.yml[0] Running make for B/BU/BULKDD/Win32/Win32-API-0.73.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/B/BU/BULKDD/Win32/Win32-API-0.73.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/B/BU/BULKDD/Win32/CHECKSUMS Checksum for C:\cpanfly-5.16\var\cpan\sources\authors\id\B\BU\BULKDD\Win32\Win32-API-0.73.tar.gz ok Win32-API-0.73/ Win32-API-0.73/api-test/ Win32-API-0.73/api-test/API_test.cpp Win32-API-0.73/api-test/API_test.def Win32-API-0.73/api-test/API_test.dsp Win32-API-0.73/api-test/API_test.dsw Win32-API-0.73/api-test/API_test.h Win32-API-0.73/api-test/API_test.sln Win32-API-0.73/api-test/API_test.suo Win32-API-0.73/api-test/API_test.vcproj Win32-API-0.73/api-test/Debug/ Win32-API-0.73/api-test/Debug/API_test.dll Win32-API-0.73/api-test/Debug/API_test.lib Win32-API-0.73/api-test/Makefile Win32-API-0.73/api-test/Release/ Win32-API-0.73/api-test/Release/API_test.dll Win32-API-0.73/api-test/Release/API_test.lib Win32-API-0.73/api-test/StdAfx.cpp Win32-API-0.73/api-test/StdAfx.h Win32-API-0.73/API.h Win32-API-0.73/API.pm Win32-API-0.73/API.xs Win32-API-0.73/API_test.dll Win32-API-0.73/API_test64.dll Win32-API-0.73/Callback/ Win32-API-0.73/Callback/Callback.xs Win32-API-0.73/Callback/Makefile.PL Win32-API-0.73/Callback/t/ Win32-API-0.73/Callback/t/02_Callback.t Win32-API-0.73/Callback/t/03_Jim_Shaw.t Win32-API-0.73/Callback/t/04_rt_53914.t Win32-API-0.73/Callback/t/iat.t Win32-API-0.73/Callback/t/ithreads.t Win32-API-0.73/Callback/t/threading_fails.t Win32-API-0.73/Callback.pm Win32-API-0.73/call_asm_x64_gnu.s Win32-API-0.73/call_asm_x64_msvc.asm Win32-API-0.73/call_i686.h Win32-API-0.73/call_x86_64.h Win32-API-0.73/Changes Win32-API-0.73/IATPatch.pod Win32-API-0.73/Makefile.PL Win32-API-0.73/MANIFEST Win32-API-0.73/MANIFEST.SKIP Win32-API-0.73/META.json Win32-API-0.73/META.yml Win32-API-0.73/ppport.h Win32-API-0.73/README Win32-API-0.73/samples/ Win32-API-0.73/samples/callback1.pl Win32-API-0.73/samples/callback2.pl Win32-API-0.73/samples/callback3.pl Win32-API-0.73/samples/cdinfo.pl Win32-API-0.73/samples/chres.pl Win32-API-0.73/samples/ejectcd.pl Win32-API-0.73/samples/GetCursorPos.pl Win32-API-0.73/samples/hideconsole.pl Win32-API-0.73/samples/kernel32.html Win32-API-0.73/samples/kernel32.pl Win32-API-0.73/samples/locales.pl Win32-API-0.73/samples/packing.pl Win32-API-0.73/samples/resolution.pl Win32-API-0.73/samples/rndcolors.pl Win32-API-0.73/samples/Win32/ Win32-API-0.73/samples/Win32/kernel32.pm Win32-API-0.73/samples/wininfo.pl Win32-API-0.73/Struct.pm Win32-API-0.73/t/ Win32-API-0.73/t/00_API.t Win32-API-0.73/t/01_Struct.t Win32-API-0.73/t/02_GetProcess.t Win32-API-0.73/t/03_undef.t Win32-API-0.73/t/04_rt_48006.t Win32-API-0.73/t/05_more_struct.t Win32-API-0.73/t/06_rt_74578.t Win32-API-0.73/t/benchmark.t Win32-API-0.73/t/pod-coverage.t Win32-API-0.73/t/pod.t Win32-API-0.73/t/v69.t Win32-API-0.73/t/v70.t Win32-API-0.73/t/v71.t Win32-API-0.73/Test.pm Win32-API-0.73/TODO Win32-API-0.73/Type.pm Win32-API-0.73/TYPEMAP Going to apply 1 patch: C:\cpanfly-5.16\etc\distroprefs\Win32-API-0.58.patch C:\cygwin\bin\patch.exe -N --fuzz=3 -p1 <= 12; + skip('because callbacks currently /SEGFAULT/ all compilers', 1); $result = $function->Call( $callback, 21 ); is($result, 42, 'callback function works'); EOT (Stripping trailing CRs from patch.) patching file Callback/t/02_Callback.t CPAN.pm: Going to build B/BU/BULKDD/Win32/Win32-API-0.73.tar.gz >>> C:\Perl64-5.16\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing MYMETA.yml and MYMETA.json Writing Makefile for Win32::API Writing MYMETA.yml and MYMETA.json >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp Type.pm blib\lib\Win32/API/Type.pm cp Callback.pm blib\lib\Win32/API/Callback.pm cp Test.pm blib\lib\Win32/API/Test.pm cp Struct.pm blib\lib\Win32/API/Struct.pm cp API.pm blib\lib\Win32/API.pm cp IATPatch.pod blib\lib\Win32/API/Callback/IATPatch.pod nmake -f Makefile all -nologo C:\Perl64-5.16\bin\perl.exe C:\cpanfly-5.16\var\megalib\ExtUtils\xsubpp -typemap C:\Perl64-5.16\lib\ExtUtils\typemap Callback.xs > Callback.xsc && C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e mv -- Callback.xsc Callback.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DVERSION=\"0.73\" -DXS_VERSION=\"0.73\" "-IC:\Perl64-5.16\lib\CORE" Callback.c Callback.c Callback.xs(639) : warning C4244: '=' : conversion from 'UV' to 'int', possible loss of data Running Mkbootstrap for Win32::API::Callback () C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Callback.bs C:\Perl64-5.16\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Win32::API::Callback\", 'DLBASE' => 'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\blib\arch\auto\Win32\API\Callback\Callback.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"C:\Perl64-5.16\lib\CORE" -machine:AMD64 Callback.obj C:\Perl64-5.16\lib\CORE\perl516.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 comctl32.lib bufferoverflowU.lib msvcrt.lib -def:Callback.def Creating library ..\blib\arch\auto\Win32\API\Callback\Callback.lib and object ..\blib\arch\auto\Win32\API\Callback\Callback.exp Generating code Finished generating code bufferoverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators if exist ..\blib\arch\auto\Win32\API\Callback\Callback.dll.manifest mt -nologo -manifest ..\blib\arch\auto\Win32\API\Callback\Callback.dll.manifest -outputresource:..\blib\arch\auto\Win32\API\Callback\Callback.dll;2 if exist ..\blib\arch\auto\Win32\API\Callback\Callback.dll.manifest del ..\blib\arch\auto\Win32\API\Callback\Callback.dll.manifest C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 755 ..\blib\arch\auto\Win32\API\Callback\Callback.dll C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e cp -- Callback.bs ..\blib\arch\auto\Win32\API\Callback\Callback.bs C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 644 ..\blib\arch\auto\Win32\API\Callback\Callback.bs cd .. C:\Perl64-5.16\bin\perl.exe C:\cpanfly-5.16\var\megalib\ExtUtils\xsubpp -nolinenumbers -typemap C:\Perl64-5.16\lib\ExtUtils\typemap -typemap typemap API.xs > API.xsc && C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e mv -- API.xsc API.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DVERSION=\"0.73\" -DXS_VERSION=\"0.73\" "-IC:\Perl64-5.16\lib\CORE" API.c API.c ml64 -Zi -c call_asm_x64_msvc.asm Assembling: call_asm_x64_msvc.asm Microsoft (R) Macro Assembler (AMD64) Version 8.00.40310.39 Copyright (C) Microsoft Corporation. All rights reserved. Running Mkbootstrap for Win32::API () C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 644 API.bs C:\Perl64-5.16\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Win32::API\", 'DLBASE' => 'API', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Win32\API\API.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -ltcg -libpath:"C:\Perl64-5.16\lib\CORE" -machine:AMD64 API.obj call_asm_x64_msvc.obj C:\Perl64-5.16\lib\CORE\perl516.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 comctl32.lib bufferoverflowU.lib msvcrt.lib -def:API.def Creating library blib\arch\auto\Win32\API\API.lib and object blib\arch\auto\Win32\API\API.exp Generating code Finished generating code bufferoverflowU.lib(gs_support.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators if exist blib\arch\auto\Win32\API\API.dll.manifest mt -nologo -manifest blib\arch\auto\Win32\API\API.dll.manifest -outputresource:blib\arch\auto\Win32\API\API.dll;2 if exist blib\arch\auto\Win32\API\API.dll.manifest del blib\arch\auto\Win32\API\API.dll.manifest C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Win32\API\API.dll C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e cp -- API.bs blib\arch\auto\Win32\API\API.bs C:\Perl64-5.16\bin\perl.exe -MExtUtils::Command -e chmod -- 644 blib\arch\auto\Win32\API\API.bs BULKDD/Win32/Win32-API-0.73.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. nmake -f Makefile all -nologo cd .. C:\Perl64-5.16\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # API test dll found at (API_test64.dll) t/00_API.t .......... 1..48 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - use Win32; ok 4 - loaded ok 5 - found API test dll ok 6 - GetCurrentProcessId() function found ok 7 - GetCurrentProcessId() result ok ok 8 - GetCurrentProcessId() result ok ok 9 - Import of GetCurrentProcessId() function from kernel32.dll ok 10 - GetCurrentProcessId() result ok ok 11 - Import of IsBadReadPtr function from kernel32.dll ok 12 - API test dll was freed ok 13 # skip ULONG is an 8 byte integer on x64 on old api ok 14 # skip ULONG is an 8 byte integer on x64 on old api ok 15 - GetHandle operates correctly ok 16 - FreeHandle operates correctly ok 17 - sum_integers() function defined ok 18 - function call with integer arguments and return value ok 19 - sum_integers_ref() function defined ok 20 - sum_integers_ref() returns the expected value ok 21 - sum_integers_ref() correctly modifies its ref argument ok 22 - short as return type croak because they are structs on old API ok 23 - sum_shorts_ref() function defined ok 24 - shorts croak as struct objs on old API ok 25 - API_test.dll sum_doubles function defined ok 26 - function call with double arguments ok 27 - sum_doubles_ref() function defined ok 28 - sum_doubles_ref() call works ok 29 - sum_doubles_ref() sets ref correctly ok 30 - sum_floats() function defined ok 31 - sum_floats() result correct ok 32 - sum_floats_ref() function defined ok 33 - sum_floats_ref() returns the expected value (1) ok 34 - sum_floats_ref() call works ok 35 - find_char() function defined ok 36 - find_char() function call works ok 37 - sum_char_ref() returns the expected value ok 38 - sum_char_ref() correctly modifies its ref argument ok 39 - numeric truncation sum_char_ref() returns the expected value ok 40 - sum_char_ref() correctly modifies its ref argument ok 41 - wstr_cmp() returns the expected value ok 42 - buffer overflow protection worked ok 43 - idiot flag works ok 44 - cdecl c_sum_integers() function defined ok 45 - cdecl sum_integers() returns expected value ok 46 - ReadMemory() works ok 47 - str_cmp() with LPVOID returns the expected value ok 48 - Take41Params() returns the expected value find_char: got 'japh', 'a' find_char: tmp now 'japh' find_char: tmp now 'aph' ok # $^E= # leaked mem warning intentional Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C function, possible resource leak at t/01_Struct.t line 175. Use of uninitialized value in subroutine entry at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 267. Win32::API::Struct::Unpack struct pointer member "pDot11Ssid" was changed by C function, possible resource leak at t/01_Struct.t line 175. Win32::API::Struct::Unpack struct pointer member "wlan" was changed by C function, possible resource leak at t/01_Struct.t line 184. # unknown type is intentional Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 235. Win32::API::Struct::new: unknown type="LPEIGHT_CHAR_ARR" at t/01_Struct.t line 253. t/01_Struct.t ....... 1..18 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - loaded ok 4 - found API test dll ok 5 - mangle_simple_struct() function a=2 b=5 c=TEST d=ffffffffedcba987 ok 6 - mangling of simple structures work a=2 b=5 c=TEST d=ffffffffedcba987 ok 7 - tied interface works ok 8 - manual packing fake WlanConnect returned ERROR_SUCCESS ok 9 - ::Struct fake WlanConnect returned ERROR_SUCCESS ok 10 - undef child struct turned to defined ok 11 - defined child struct turned to undefined ok 12 - typedefing EIGHT_CHARS worked ok 13 - buffer_overflow filled the struct correctly ok 14 - type mismatch check worked ok 15 - buffer_overflow filled the struct correctly ok 16 - can not ::Struct::new a LP prefixed struct name for a defined struct ok 17 - Type::typedef worked ok 18 - Type::typedef doesn't change the ::Struct db dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0xcc 05: 0xcc 06: 0xcc 07: 0xcc 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x78 25: 0x56 26: 0x34 27: 0x12 28: 0x00 29: 0x00 30: 0x00 31: 0x00 32: 0xcc dump_struct: [mine at 0x0012f628] a=5 b=2.500000 c=0x0000000000000000 d=0x0000000012345678 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x48 17: 0x66 18: 0x28 19: 0x02 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x78 25: 0x56 26: 0x34 27: 0x12 28: 0x00 29: 0x00 30: 0x00 31: 0x00 32: 0x00 dump_struct: [yours at 0x022d6878] a=5 b=2.500000 c=0x0000000002286648 'test' d=0x0000000012345678 x.a=2 x.b=5.000000 x.c=0x02286648 x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' x.d=0xedcba987 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0xcc 05: 0xcc 06: 0xcc 07: 0xcc 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x78 25: 0x56 26: 0x34 27: 0x12 28: 0x00 29: 0x00 30: 0x00 31: 0x00 32: 0xcc dump_struct: [mine at 0x0012f628] a=5 b=2.500000 c=0x0000000000000000 d=0x0000000012345678 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0xf8 17: 0x73 18: 0x28 19: 0x02 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x87 25: 0xa9 26: 0xcb 27: 0xed 28: 0xff 29: 0xff 30: 0xff 31: 0xff 32: 0x00 dump_struct: [yours at 0x022d6a08] a=5 b=2.500000 c=0x00000000022873F8 'test' d=0xFFFFFFFFEDCBA987 x.a=2 x.b=5.000000 x.c=0x022873f8 x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' x.d=0x12345678 ok # $result=5292 # $$=5292 t/02_GetProcess.t ... 1..3 ok 1 - use Win32::API; ok 2 - kernel32!GetCurrentProcessId import successful ok 3 - kernel32!GetCurrentProcessId() == Perl's $$ ok # Win32::API 0.73 # Import: The handle is invalid t/03_undef.t ........ 1..3 ok 1 - import sample API (PeekNamedPipe) ok 2 - reclaiming child worked ok 3 - (RT \#39730) sample API (PeekNamedPipe) works with undef values ok Uninit warnings are intentional Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. Use of uninitialized value in pack at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API/Struct.pm line 317. # Size is 296. Should be 296 t/04_rt_48006.t ..... 1..4 ok 1 - use Win32::API::Struct; ok 2 - ProcessEntry32 struct defined ok 3 - Size is calculated correctly ok 4 - uninitialized struct is all nulls ok t/05_more_struct.t .. 1..26 ok 1 - "all_longs" struct defined ok 2 - Size of struct "all_longs" is calculated correctly (20) ok 3 - "array_of_chars" struct defined ok 4 - Size of struct "array_of_chars" is calculated correctly (100) ok 5 - "compound_1" struct defined ok 6 - Size of struct "compound_1" is calculated correctly (212) ok 7 - "compound_2" struct defined not ok 8 - Size of struct "compound_2" is calculated correctly (14) # TODO Breaks atm # Failed (TODO) test 'Size of struct "compound_2" is calculated correctly (14)' # at t/05_more_struct.t line 131. # got: '14' # expected: '11' ok 9 - "empty" struct defined ok 10 - Size of struct "empty" is calculated correctly (0) ok 11 - "four_words" struct defined ok 12 - Size of struct "four_words" is calculated correctly (16) ok 13 - "mixing_longs_and_dwords" struct defined ok 14 - Size of struct "mixing_longs_and_dwords" is calculated correctly (12) ok 15 - "one_char" struct defined ok 16 - Size of struct "one_char" is calculated correctly (1) ok 17 - "one_word" struct defined ok 18 - Size of struct "one_word" is calculated correctly (4) ok 19 - "one_word_no_semicolon" struct defined ok 20 - Size of struct "one_word_no_semicolon" is calculated correctly (4) ok 21 - "only_chars" struct defined ok 22 - Size of struct "only_chars" is calculated correctly (3) ok 23 - "three_words" struct defined ok 24 - Size of struct "three_words" is calculated correctly (12) ok 25 - "two_words" struct defined ok 26 - Size of struct "two_words" is calculated correctly (8) ok # @pack=(LLLLLLLlLa260, ARRAY(0x1f75860), ARRAY(0x1f75980), 296, ARRAY(0x1f6bd38)) t/06_rt_74578.t ..... 1..3 ok 1 - use Win32::API::Struct; ok 2 - ProcessEntry32 struct defined ok 3 - Size is calculated correctly ok # API test dll found at (API_test64.dll) # time was 0.270592685262281 secs, 0.00135294313216442 ms per Win32::API call # time was 0.00047886094920899 secs, 0.00000239430474604 ms per C call t/benchmark.t ....... 1..7 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - found API test dll ok 4 - setlasterror_loop() function defined ok 5 - QueryPerformanceCounter Win32::API obj created ok 6 - QueryPerformanceFrequency Win32::API obj created and call success ok 7 - QPC calls succeeded ok t/pod-coverage.t .... 1..1 ok 1 - Pod coverage on Win32::API ok t/pod.t ............. 1..6 ok 1 - POD test for blib\lib\Win32\API.pm ok 2 - POD test for blib\lib\Win32\API\Callback.pm ok 3 - POD test for blib\lib\Win32\API\Struct.pm ok 4 - POD test for blib\lib\Win32\API\Test.pm ok 5 - POD test for blib\lib\Win32\API\Type.pm ok 6 - POD test for blib\lib\Win32\API\Callback\IATPatch.pod ok # API test dll found at (API_test64.dll) Win32::API::parse_prototype: bad prototype 'HANDLE GetProcessHeap( void ** ptr )' at C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh\blib\lib/Win32/API.pm line 541. t/v69.t ............. 1..36 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - use Win32; ok 4 - found API test dll ok 5 - GetHandle operates correctly ok 6 - FreeHandle operates correctly ok 7 - highbit_unsigned() function defined ok 8 - return value for unsigned is unsigned ok 9 - 2 word ret type highbit_unsigned() function defined ok 10 - return value for unsigned is unsigned ok 11 - sum_shorts_ref() function defined ok 12 - sum_shorts_ref() returns the expected value ok 13 - sum_shorts_ref() correctly modifies its ref argument ok 14 - sum_shorts_ref() returns the expected unsigned value ok 15 - sum_shorts_ref() correctly modifies its ref argument ok 16 - sum_char_ref() returns the expected character value ok 17 - sum_char_ref() correctly modifies its ref argument ok 18 - sum_uchar_ret_int() returns the expected numeric value ok 19 - signed sum_char_ref() returns the expected numeric value ok 20 - sum_char_ref() correctly modifies its ref argument ok 21 - unsigned sum_char_ref() returns the expected numeric value ok 22 - sum_char_ref() correctly modifies its ref argument ok 23 - str_cmp() returns the expected value ok 24 - wstr_cmp() returns the expected value ok 25 - GetHandle from func pointer using C prototype operates correctly ok 26 - GetHandle from func pointer using letter interface operates correctly ok 27 - Can't create a Win32::API obj to func ptr 2 ok 28 - find_char() function defined ok 29 - numeric return find_char() function call works find_char: got '', '' find_char: tmp now '' find_char: tmp now '' find_char: tmp now '' ok 30 - MoveMemory() and ReadMemory() work ok 31 - WriteMemory() works ok 32 - WriteMemory() length check works ok 33 - HeapFree works ok 34 - 1 is a bad pointer for IsBadReadPtr ok 35 - IsBadReadPtr returned false on a good pointer ok 36 - ** types do not parse currently ok t/v70.t ............. 1..17 ok 1 # skip Quads are native on this computer ok 2 # skip Quads are native on this computer ok 3 # skip Quads are native on this computer ok 4 # skip Quads are native on this computer ok 5 # skip Quads are native on this computer ok 6 # skip Quads are native on this computer ok 7 # skip Quads are native on this computer ok 8 # skip Quads are native on this computer ok 9 # skip Quads are native on this computer ok 10 # skip Quads are native on this computer ok 11 # skip Quads are native on this computer ok 12 # skip Quads are native on this computer ok 13 # skip Quads are native on this computer ok 14 # skip Quads are native on this computer ok 15 # skip Quads are native on this computer ok 16 # skip Quads are native on this computer ok 17 # skip Quads are native on this computer ok # API test dll found at (API_test64.dll) t/v71.t ............. 1..23 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - found API test dll ok 4 - find_char() function defined ok 5 - find_char() function call works ok 6 - SafeReadWideCString ASCII ok 7 - SafeReadWideCString Wide ok 8 - SafeReadWideCString null pointer ok 9 - Struct 'S' invalid return type ok 10 - Struct 'T' invalid return type ok 11 - Callback invalid return type ok 12 - ::More Struct 'T' invalid return type ok 13 - ::More Callback invalid return type find_char: got 'japh', 'a' find_char: tmp now 'japh' find_char: tmp now 'aph' ok 14 - GetCurrentThreadId with 'V' in proto works ok 15 - GetCurrentThreadId with array 'V' in proto works ok 16 - in V proto param + other param fails ok 17 - GetCurrentThreadId with '' in proto works ok 18 - GetCurrentThreadId with '' out proto works ok 19 - GetCurrentThreadId with '' out proto works ok 20 # skip Quads are native on this computer ok 21 # skip Quads are native on this computer ok 22 # skip Quads are native on this computer ok 23 # skip Quads are native on this computer ok All tests successful. Files=13, Tests=195, 4 wallclock secs ( 0.13 usr + 0.00 sys = 0.13 CPU) Result: PASS nmake test -nologo C:\Perl64-5.16\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..\blib\lib', '..\blib\arch')" t/*.t # Compiler name:cl # Compiler version:14 # $^E= t/02_Callback.t ...... ok t/03_Jim_Shaw.t ...... ok t/04_rt_53914.t ...... skipped: GenerateConsoleCtrlEvent() crashes consistently. Reason unknown so far. t/iat.t .............. ok t/ithreads.t ......... ok Win32::API::Callback (XS) no perl interp in thread id 4864, callback can not run t/threading_fails.t .. ok All tests successful. Files=6, Tests=56, 1 wallclock secs ( 0.09 usr + 0.00 sys = 0.09 CPU) Result: PASS cd .. BULKDD/Win32/Win32-API-0.73.tar.gz nmake test TEST_VERBOSE=1 -- OK Daniel Dragan <bulkdd@cpan.org> Perl Win32 API Import Facility >>> (cd C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh && tar cvf - Win32-API-0.73.ppd blib) | gzip -c >C:/cpanfly-5.16/var/REPO/B/BU/BULKDD/Win32/Win32-API-0.73.tar.gz Win32-API-0.73.ppd blib/ blib/arch/ blib/arch/auto/ blib/arch/auto/Win32/ blib/arch/auto/Win32/API/ blib/arch/auto/Win32/API/API.bs blib/arch/auto/Win32/API/API.dll blib/arch/auto/Win32/API/API.exp blib/arch/auto/Win32/API/API.lib blib/arch/auto/Win32/API/Callback/ blib/arch/auto/Win32/API/Callback/Callback.bs blib/arch/auto/Win32/API/Callback/Callback.dll blib/arch/auto/Win32/API/Callback/Callback.exp blib/arch/auto/Win32/API/Callback/Callback.lib blib/lib/ blib/lib/Win32/ blib/lib/Win32/API/ blib/lib/Win32/API/Callback/ blib/lib/Win32/API/Callback/IATPatch.pod blib/lib/Win32/API/Callback.pm blib/lib/Win32/API/Struct.pm blib/lib/Win32/API/Test.pm blib/lib/Win32/API/Type.pm blib/lib/Win32/API.pm >>> mv C:\cpanfly-5.16\var\cpan\build\Win32-API-0.73-BYEZfh/Win32-API-0.73.ppd C:/cpanfly-5.16/var/REPO/B/BU/BULKDD/Win32 Finished 2012-10-21T04:03:40