also fails on Strawberry Perl 5.24.1.1 (64bit) Windows 10
Show quoted textcpan> install Win32::Hardlink
Running install for module 'Win32::Hardlink'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/A/AU/AUDREYT/Win32-Hardlink-0.11.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/A/AU/AUDREYT/CHECKSUMS
Checksum for C:\Perl\STRAWB~1\cpan\sources\authors\id\A\AU\AUDREYT\Win32-Hardlink-0.11.tar.gz ok
Configuring A/AU/AUDREYT/Win32-Hardlink-0.11.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Win32::Hardlink
Writing MYMETA.yml and MYMETA.json
AUDREYT/Win32-Hardlink-0.11.tar.gz
C:\Perl\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for A/AU/AUDREYT/Win32-Hardlink-0.11.tar.gz
cp lib/Win32/Hardlink.pm blib\lib\Win32\Hardlink.pm
Running Mkbootstrap for Hardlink ()
"C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 644 "Hardlink.bs"
"C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- Hardlink.bs blib\arch\auto\Win3
2\Hardlink\Hardlink.bs 644
"C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" "C:\Perl\Strawberry\perl\lib\ExtUtils\xsubpp" -typemap C:\Perl\STRAWB~1\
perl\lib\ExtUtils\typemap -typemap C:\Perl\STRAWB~1\cpan\build\Win32-Hardlink-0.11-0\typemap Hardlink.xs > Hardlink.xsc
Please specify prototyping behavior for Hardlink.xs (see perlxs manual)
"C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e mv -- Hardlink.xsc Hardlink.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY
S -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" "-IC:\Perl\STRAWB
~1\perl\lib\CORE" Hardlink.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY
S -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" "-IC:\Perl\STRAWB
~1\perl\lib\CORE" lnw.cpp
lnw.cpp: In function 'void enableprivs()':
lnw.cpp:64:35: error: expected primary-expression before '*' token
byte buf[sizeof TOKEN_PRIVILEGES * 2];
^
lnw.cpp:65:51: error: 'buf' was not declared in this scope
TOKEN_PRIVILEGES & tkp = *( (TOKEN_PRIVILEGES *) buf );
^
dmake.exe: Error code 129, while making 'lnw.o'
AUDREYT/Win32-Hardlink-0.11.tar.gz
C:\Perl\STRAWB~1\c\bin\dmake.exe -- NOT OK
Stopping: 'install' failed for 'Win32::Hardlink'.
Failed during this command:
AUDREYT/Win32-Hardlink-0.11.tar.gz : make NO
Show quoted textcpan>