[rt.cpan.org #39730] Passing NULL when has_proto is true

[email protected] ("ikegami via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Mon Jul 12 17:56:02 2010: Request 39730 was acted upon.
Transaction: Correspondence added by ikegami
       Queue: Win32-API
     Subject: Passing NULL when has_proto is true
   Broken in: (no value)
    Severity: Normal
       Owner: COSIMO
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=39730 >


Different results with git @ 57d1ec7

---- BEGIN ----
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

cp Type.pm blib\lib\Win32/API/Type.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
        C:\PROGRA~2\MICROS~1.0\VC\BIN\nmake.exe -f Makefile all -nologo
        cd ..
        C:\Progs\perl5121-ap1201\bin\perl.exe
C:\Progs\perl5121-ap1201\lib\ExtUtils\xsubpp  -typemap
C:\Progs\perl5121-ap1201\lib\ExtUtils\typemap -typemap typemap  API.xs >
API.xsc && C:\Progs\perl5121-ap1201\bin\perl.exe -MExtUtils::Command -e
"mv" -- API.xsc API.c
        cl -c    -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -Wp64
-fp:precise -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64
-DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
-Ox -GL -Wp64 -fp:precise    -DVERSION=\"0.60_64\" 
-DXS_VERSION=\"0.60_64\"  "-IC:\Progs\perl5121-ap1201\lib\CORE"   API.c
cl : Command line warning D9035 : option 'Wp64' has been deprecated and
will be removed in a future release
cl : Command line warning D9035 : option 'Wp64' has been deprecated and
will be removed in a future release
API.c
C:\Progs\perl5121-ap1201\lib\CORE\sys/socket.h(34) : warning C4005:
'ENOTSOCK' : macro redefinition
        C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\INCLUDE\errno.h(120) : see previous definition of 'ENOTSOCK'
c:\users\ikegami\desktop\cosimo-perl5-win32-api-57d1ec7\call_i686.h(183)
: warning C4996: 'strcpy': This function or variable may be unsafe.
Consider using strcpy_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
API.xs(108) : warning C4311: 'type cast' : pointer truncation from
'FARPROC' to 'long_ptr'
API.xs(187) : warning C4311: 'type cast' : pointer truncation from 'char
*' to 'long_ptr'
API.xs(204) : warning C4312: 'type cast' : conversion from 'long_ptr' to
'char *' of greater size
API.xs(277) : warning C4244: '=' : conversion from 'IV' to 'long_ptr',
possible loss of data
API.xs(392) : warning C4244: '=' : conversion from 'IV' to 'long_ptr',
possible loss of data
API.xs(236) : warning C4101: 'words_pushed' : unreferenced local variable
        ml64  -c call_asm_x64_msvc.asm
'ml64' is not recognized as an internal or external command, operable
program or batch file.
NMAKE : fatal error U1077: 'ml64' : return code '0x1'
Stop.
---- END ----

Don't know if it's because something changed, or if it's because I'm
missing some tools.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.