BDW-GC branch updated

2009-08-18 Thread Ludovic Courtès
Hello! I merged `master' in the `boehm-demers-weiser-gc' branch yesterday, which hadn't been done since before 1.9.0 (no, you won't see the 4 MiB+ commit message on `guile-commits'...). So now is a good time to test it and report back! It requires libgc 7.1 or later, which isn't packaged in Debi

Re: BDW-GC branch updated

2009-08-18 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hello! > > I merged `master' in the `boehm-demers-weiser-gc' branch yesterday, > which hadn't been done since before 1.9.0 (no, you won't see the 4 MiB+ > commit message on `guile-commits'...). > > So now is a good time to test it and report back! It requi

Re: BDW-GC branch updated

2009-08-18 Thread Ludovic Courtès
Hi, Andreas Rottmann writes: > l...@gnu.org (Ludovic Courtès) writes: [...] >> So now is a good time to test it and report back! It requires libgc 7.1 >> or later, which isn't packaged in Debian, although it was released in >> May 2008. >> > It's in experimental since recently; I assume its m

Re: `SCM_MAKE_CHAR ()' signedness issue

2009-08-18 Thread Mike Gran
> From: Ludovic Courtès > To: guile-devel@gnu.org > Sent: Monday, August 17, 2009 8:33:03 AM > Subject: Re: `SCM_MAKE_CHAR ()' signedness issue > > I'm fairly confident that for such a small piece of code inlining is > always a good idea. OK.  If the comparison is modified to become 35 #define 

Re: `SCM_MAKE_CHAR ()' signedness issue

2009-08-18 Thread carlo.bramix
Hello, unfortunately that code still fails into libguile/print.c Infact, a signed char just arrives to 127 and the " < 128" causes: ../../guile-git/libguile/print.c:1101: warning: comparison is always true due to limited range of data type ../../guile-git/libguile/print.c:1108: warning: compariso

Re: `SCM_MAKE_CHAR ()' signedness issue

2009-08-18 Thread Mike Gran
> From: carlo.bramix > > Hello, > unfortunately that code still fails into libguile/print.c > Infact, a signed char just arrives to 127 and the " < 128" causes: > > ../../guile-git/libguile/print.c:1101: warning: comparison is always true due > to > limited range of data type > ../../guile-git

Re: `SCM_MAKE_CHAR ()' signedness issue

2009-08-18 Thread Greg Troxel
I think the problem is that the routine in question is fundamentally written to assume a signed input. Perhaps there should be an unsigned version that takes unsigned chars, and perhaps guile should explicit declare characters as one or the other. Or perhaps just always cast to unsigned char - i