Skip Menu |
 

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 98248
Status: resolved
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: NWELLNHOF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.010
Fixed in: 2.016



Subject: Feature tests for functions broken
Download (untitled) / with headers
text/plain 499b
At least on some platforms, the tests for the availiability of C functions in Makefile.PL are broken since 2.010: Checking HAS_GETADDRINFO... test-0.c: In function ‘main’: test-0.c:16:37: error: ‘NULL’ undeclared (first use in this function) void *p = &getaddrinfo; if(p == NULL) return 1; The test program should include stddef.h, so that the NULL pointer is defined. This only affects older Perls that don't have the relevant Config keys (5.12 and below, I think).
Download (untitled) / with headers
text/plain 502b
On Fri Aug 22 08:59:02 2014, NWELLNHOF wrote: Show quoted text
> At least on some platforms, the tests for the availiability of C > functions in Makefile.PL are broken since 2.010: > > Checking HAS_GETADDRINFO... > test-0.c: In function ‘main’: > test-0.c:16:37: error: ‘NULL’ undeclared (first use in this function) > void *p = &getaddrinfo; if(p == NULL) return 1; > > The test program should include stddef.h, so that the NULL pointer is > defined.
Ah yes. Will add in next version. -- Paul Evans
Released -- Paul Evans


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.