Subject: | Build fails on Strawberry Perl 5.24.1.1 (64bit) Windows 10 |
Platform: Strawberry Perl 5.24.1.1 (64bit) Windows 10
Win32::Setupsup version: 1.12
Show quoted text
cpan> install Win32::Setupsup
Running install for module 'Win32::Setupsup'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/C/CJ/CJM/Win32-Setupsup-1.12.tar.gz
Checksum for C:\Perl\STRAWB~1\cpan\sources\authors\id\C\CJ\CJM\Win32-Setupsup-1.12.tar.gz ok
Configuring C/CJ/CJM/Win32-Setupsup-1.12.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Win32::Setupsup
Writing MYMETA.yml and MYMETA.json
Exporting version number to afxres.h
CJM/Win32-Setupsup-1.12.tar.gz
C:\Perl\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for C/CJ/CJM/Win32-Setupsup-1.12.tar.gz
cp Setupsup.pm blib\lib\Win32\Setupsup.pm
Running Mkbootstrap for Setupsup ()
"C:\Perl\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Setupsup.bs"
"C:\Perl\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Setupsup.bs blib\arch\auto\Win32\Setups
up\Setupsup.bs 644
gcc -c -fpermissive -Wno-conversion-null -Wno-write-strings -s -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1
.12\" "-IC:\Perl\STRAWB~1\perl\lib\CORE" -DPERL_5_6_0 -D_CRT_SECURE_NO_WARNINGS list.cpp
list.cpp: In destructor 'Node::~Node()':
list.cpp:79:12: warning: deleting 'PVOID {aka void*}' is undefined
delete m_Data;
^
list.cpp: In member function 'void* Node::Data(PVOID)':
list.cpp:187:12: warning: deleting 'PVOID {aka void*}' is undefined
delete m_Data;
^
list.cpp: In member function 'void* List::Head(PVOID, BOOL)':
list.cpp:397:27: warning: deleting 'PVOID {aka void*}' is undefined
delete m_Head->Data();
^
list.cpp: In member function 'void* List::Tail(PVOID, BOOL)':
list.cpp:439:27: warning: deleting 'PVOID {aka void*}' is undefined
delete m_Tail->Data();
^
list.cpp: In member function 'void* List::Prev(PNode, PVOID, BOOL)':
list.cpp:484:29: warning: deleting 'PVOID {aka void*}' is undefined
delete prevNode->Data();
^
list.cpp: In member function 'void* List::Next(PNode, PVOID, BOOL)':
list.cpp:529:29: warning: deleting 'PVOID {aka void*}' is undefined
delete nextNode->Data();
^
list.cpp: In member function 'void* List::This(PNode, PVOID, BOOL)':
list.cpp:572:25: warning: deleting 'PVOID {aka void*}' is undefined
delete node->Data();
^
gcc -c -fpermissive -Wno-conversion-null -Wno-write-strings -s -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1
.12\" "-IC:\Perl\STRAWB~1\perl\lib\CORE" -DPERL_5_6_0 -D_CRT_SECURE_NO_WARNINGS misc.cpp
gcc -c -fpermissive -Wno-conversion-null -Wno-write-strings -s -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1
.12\" "-IC:\Perl\STRAWB~1\perl\lib\CORE" -DPERL_5_6_0 -D_CRT_SECURE_NO_WARNINGS plmisc.cpp
In file included from C:\Perl\STRAWB~1\perl\lib\CORE/perl.h:5615:0,
from plmisc.h:62,
from plmisc.cpp:10:
plmisc.cpp: In function 'void* PtrFromHash(HV*, PSTR, unsigned int*, BOOL)':
C:\Perl\STRAWB~1\perl\lib\CORE/embed.h:583:58: error: cannot convert 'unsigned int*' to 'STRLEN* {aka long long unsigned
int*}' for argument '3' to 'char* Perl_sv_2pv_flags(PerlInterpreter*, SV*, STRLEN*, I32)'
#define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
^
C:\Perl\STRAWB~1\perl\lib\CORE/sv.h:1659:40: note: in expansion of macro 'sv_2pv_flags'
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
C:\Perl\STRAWB~1\perl\lib\CORE/sv.h:1653:30: note: in expansion of macro 'SvPV_flags'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^
plmisc.cpp:113:18: note: in expansion of macro 'SvPV'
return len ? SvPV(*item, *len) : SvPV(*item, PL_na);
^
plmisc.cpp: In function 'void* PtrFromArray(AV*, int, unsigned int*, BOOL)':
C:\Perl\STRAWB~1\perl\lib\CORE/embed.h:583:58: error: cannot convert 'unsigned int*' to 'STRLEN* {aka long long unsigned
int*}' for argument '3' to 'char* Perl_sv_2pv_flags(PerlInterpreter*, SV*, STRLEN*, I32)'
#define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
^
C:\Perl\STRAWB~1\perl\lib\CORE/sv.h:1659:40: note: in expansion of macro 'sv_2pv_flags'
? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
^
C:\Perl\STRAWB~1\perl\lib\CORE/sv.h:1653:30: note: in expansion of macro 'SvPV_flags'
#define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
^
plmisc.cpp:252:18: note: in expansion of macro 'SvPV'
return len ? SvPV(*item, *len) : SvPV(*item, PL_na);
^
plmisc.cpp: In function 'DWORD LastError(DWORD)':
plmisc.cpp:630:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
TlsSetValue(TlsIndex, (PVOID)error);
^
plmisc.cpp: In function 'DWORD LastError()':
plmisc.cpp:648:37: warning: cast from 'LPVOID {aka void*}' to 'DWORD {aka long unsigned int}' loses precision [-fpermiss
ive]
return (DWORD)TlsGetValue(TlsIndex);
^
dmake.exe: Error code 129, while making 'plmisc.o'
CJM/Win32-Setupsup-1.12.tar.gz
C:\Perl\STRAWB~1\c\bin\dmake.exe -- NOT OK
Stopping: 'install' failed for 'Win32::Setupsup'.
Failed during this command:
CJM/Win32-Setupsup-1.12.tar.gz : make NO
Show quoted textcpan>