Skip Menu |

This queue is for tickets about the Guile CPAN distribution.

Report information
The Basics
Id: 39557
Status: open
Priority: 0/
Queue: Guile

People
Owner: Nobody in particular
Requestors: k5mdhve02 [...] sneakemail.com
Cc:
AdminCc:

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



Subject: Calls to SvPV use mismatched argument type
I have been trying to build Guile-0.002 on a Fedora Core 8 system with gcc 4.3.2 and Perl 5.8.8. I was reaching this sticking point: gcc -c -I/usr/include -Wall -Werror -g -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" gh.c cc1: warnings being treated as errors In file included from gh.xs:8: ../guile_wrap.c: In function ‘newSCMsv’: ../guile_wrap.c:46: error: pointer targets in passing argument 3 of ‘Perl_sv_2pv_flags’ differ in signedness ../guile_wrap.c:49: error: pointer targets in passing argument 3 of ‘Perl_sv_2pv_flags’ differ in signedness make[1]: *** [gh.o] Error 1 make[1]: Leaving directory `/home/larry/work/rpm/BUILD/Guile-0.002/gh' make: *** [subdirs] Error 2 I found that making the following change seemed to correct the problem: --- guile_wrap.c.orig 2008-09-23 16:03:35.000000000 -0700 +++ guile_wrap.c 2008-09-23 16:03:49.000000000 -0700 @@ -9,7 +9,7 @@ SCM newSCMsv (SV *sv, char *type) { SCM scm; AV *av; - int len; + STRLEN len; char *val; // derive type from SV
Subject: guile_wrap.c.patch
--- guile_wrap.c.orig 2008-09-23 16:03:35.000000000 -0700 +++ guile_wrap.c 2008-09-23 16:03:49.000000000 -0700 @@ -9,7 +9,7 @@ SCM newSCMsv (SV *sv, char *type) { SCM scm; AV *av; - int len; + STRLEN len; char *val; // derive type from SV
Oh, and the version of GNU Guile is 1.8.5. It's probably important that I mention that. :-)