Skip Menu |
 

This queue is for tickets about the File-Locate CPAN distribution.

Report information
The Basics
Id: 76413
Status: open
Priority: 0/
Queue: File-Locate

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

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



Subject: Does not compile anymore for bleadperl (5.15.3 and newer)
Download (untitled) / with headers
text/plain 338b
See subject. A sample error report http://www.cpantesters.org/cpan/report/72710c84-6df9-11e1-bf5d-35ff48abe0af shows the following compile error: Locate.xs:51: error: expected identifier before numeric constant An overview of the test results may be seen here: http://matrix.cpantesters.org/?dist=File-Locate-0.62 Regards, Slaven
Download (untitled) / with headers
text/plain 132b
Bisect points to v5.15.2-436-gbd31be4 and as such the solution should be similar to https://rt.cpan.org/Ticket/Display.html?id=71052
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Download (untitled) / with headers
text/plain 614b
Indeed, I verified that the following patch fixes the compilation: --- /home/sand/.cpan/build/File-Locate-0.62-7mmmYX~/Locate.xs 2007-02-17 14:56:53.000000000 +0100 +++ /home/sand/.cpan/build/File-Locate-0.62-7mmmYX/Locate.xs 2012-04-09 13:11:45.752323541 +0200 @@ -48,7 +48,10 @@ uid_t UID; gid_t GID; -typedef enum {false, true} boolean; +typedef int boolean; +#ifndef I_STDBOOL + enum { false, true }; +#endif static char * last_literal_end (char *name) { static char *globfree = NULL; /* A copy of the subpattern in NAME. */ Tested on v5.15.2-436-gbd31be4 and v5.15.9-123-gbd9cbc4.


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.