Skip Menu |
 

This queue is for tickets about the libwin32 CPAN distribution.

Report information
The Basics
Id: 764
Status: new
Priority: 0/
Queue: libwin32

People
Owner: Nobody in particular
Requestors: alexander.bartolich [...] vai.at
Cc:
AdminCc:

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



Subject: Compiling with perl-5.6.1 fails
Download (untitled) / with headers
text/plain 655b
In file Process\Process.xs function Create() contain two pieces of code that break: #if PERL_VERSION > 5 env = PerlEnv_get_childenv(); #endif and #if PERL_VERSION > 5 PerlEnv_free_childenv(env); #endif These fail because iperlsys.h (of perl-5.6.1) contains #define PerlEnv_get_childenv() get_childenv() #define PerlEnv_free_childenv(e) free_childenv((e)) but does not provide prototypes for get_childenv and free_childenv. File win32/win32.c of perl-5.6.1 contains this: void* get_childenv(void) { return NULL; } void free_childenv(void* d) {} Simply removing the call of PerlEnv_get_childenv and PerlEnv_free_childenv fixes the problem.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.