Skip Menu |

This queue is for tickets about the Win32-Hardlink CPAN distribution.

Report information
The Basics
Id: 108063
Status: open
Priority: 0/
Queue: Win32-Hardlink

Owner: Nobody in particular
Requestors: julian [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Fails to compile with strawberry perl 5.22
Date: Thu, 29 Oct 2015 13:21:01 +0100
To: bug-Win32-Hardlink [...]
From: Julian Levens <julian [...]>
Download (untitled) / with headers
text/plain 176b
There is a line in the code with 'byte buf[sizeof TOKEN_PRIVILEGES * 2];' which I changed to 'byte buf[sizeof(TOKEN_PRIVILEGES) * 2];' to get it to compile. -- Julian Levens
Download (untitled) / with headers
text/plain 2.6k
also fails on Strawberry Perl (64bit) Windows 10 Show quoted text
cpan> install Win32::Hardlink
Running install for module 'Win32::Hardlink' Fetching with LWP: Fetching with LWP: 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/ blib\lib\Win32\ Running Mkbootstrap for Hardlink () "C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 644 "" "C:\Perl\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command::MM -e cp_nonempty -- blib\arch\auto\Win3 2\Hardlink\ 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 text

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to