Re: scm_to_locale_stringbuf

2009-02-05 Thread Ludovic Courtès
Hi, Neil Jerram writes: > I think the key thing is that scm_to_locale_stringbuf () will return > 2. This tells the caller that BUF wasn't big enough. Beyond that, we > shouldn't do something obviously misleading, but I don't think it > matters very much what we choose to do. Agreed. The call

Re: guile-1.8.6: libguile/inline.h nitpick

2009-02-05 Thread David Fang
Can we change line 57 from: to something like: # if (defined __GNUC__) && (!((defined __APPLE_CC__) && __APPLE_CC__ > 5400 && __STDC_VERSION__ >= 199901L which checks for __APPLE_CC__ defined before using it? Sure. Proposed patch for this is attached, please let me know if any comments. Tha

Re: Guile module system problem

2009-02-05 Thread Neil Jerram
Panicz Maciej Godek writes: >>> (define slot-ref (make-procedure-with-setter (@ (oop goops) slot-ref) >>> slot-set!)) >>> >>> and the error I get when I try to use that module, is: >>> ERROR: invalid syntax #>> #> > I've found a possible reason, though. I didn't write that in > the module defini

Re: guile-1.8.6: libguile/inline.h nitpick

2009-02-05 Thread Neil Jerram
David Fang writes: > Hi all, > > Minor nit about the "libguile/inline.h" header: > > I typically compile with g++ ... -Wundef -Werror, which catches uses > of undefined preprocessor tokens: > > /usr/local/include/libguile/inline.h:57:31: "__APPLE_CC__" is not defined > In file included from /usr/

Re: statprof working with guile-vm

2009-02-05 Thread Neil Jerram
Andy Wingo writes: > No. Statprof reports procedures by identity (i.e. `eq?'), not by name; > but it discards procedures that have no names on the grounds that you > don't really know what those procedures are. So why were there so many entries for `retrans', then? (I assume there's really one

Re: vm status update, a.k.a. yowsers batman it's february already

2009-02-05 Thread Neil Jerram
Andy Wingo writes: >> Is that the kind of thing that you had in mind, or have I missed your >> point? > > You've got it :) Hooray! > I think that selfishly, I need to implement another language if I'd like > to present something about "guile's multilingual framework", or else I'd > be laughed o