Skip Menu |

This queue is for tickets about the HTTP-HeaderParser-XS CPAN distribution.

Report information
The Basics
Id: 48900
Status: new
Priority: 0/
Queue: HTTP-HeaderParser-XS

People
Owner: Nobody in particular
Requestors: pavel.odintsov [...] googlemail.com
Cc:
AdminCc:

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



Subject: Compilation troubles on Centos x86_64
XS compilation failed on Centos x86_64: In file included from HTTPHeaders.xs:14: /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:163:1: warning: this is the location of the previous definition HTTPHeaders.c: In function ‘void boot_HTTP__HeaderParser__XS(PerlInterpreter*, CV*)’: HTTPHeaders.c:1009: error: invalid conversion from ‘const char*’ to ‘char*’ HTTPHeaders.c:1009: error: initializing argument 4 of ‘CV* Perl_newXS(PerlInterpreter*, char*, void (*)(PerlInterpreter*, CV*), char*)’ HTTPHeaders.c:1010: error: invalid conversion from ‘const char*’ to ‘char*’ HTTPHeaders.c:1010: error: initializing argument 4 of ‘CV* Perl_newXS(PerlInterpreter*, char*, void (*)(PerlInterpreter*, CV*), char*)’ HTTPHeaders.c:1011: error: invalid conversion from ‘const char*’ to ‘char*’ HTTPHeaders.c:1011: error: initializing argument 4 of ‘CV* Perl_newXS(PerlInterpreter*, char*, void (*)(PerlInterpreter*, CV*), char*)’ HTTPHeaders.c:1012: error: invalid conversion from ‘const char*’ to ‘char*’ HTTPHeaders.c:1012: error: initializing argument 4 of ‘CV* Perl_newXS(PerlInterpreter*, char*, void (*)(PerlInterpreter*, CV*), char*)’ Fixed simple by replace on 1009 line of HTTPHeaders.c: -const char* file = __FILE__; +char* file = __FILE__;