Hi,
a strange problem with guile-3.0.0 ...
;; (I) This one-line program shows an error message, no problem:
(error "We want to see this error message!")
;; (II) A similar program doesn't show the message, if it has been compiled:
(error (format #f "We want to see this error message!"))
The file "./meta/guile.m4", which comes with guile-3.0.0, is the old
version of guile-2.2
Autoconf-based packages built with guile-3.0 are installed in the
site/2.2-directories :-(
Line 64 of "guile.m4" looks like this:
_guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])"
It shou
Hi,
There is a problem in bytevectors.c - conversions of float and double
to the foreign endianess don't work.
Here is the scheme example:
---
(use-modules (rnrs bytevectors))
(define bv (make-bytevector 4))
(bytevector-ieee-single-set! bv 0 1.0 (endianness little))
(di
Hallo Mark,
On Wed, 11 Apr 2012, Mark H Weaver wrote:
> Date: Wed, 11 Apr 2012 15:33:32 -0400
> From: Mark H Weaver
> To: Ludovic Courtès
> Cc: Klaus Stehle , 11...@debbugs.gnu.org
> Subject: Re: bug#11198: problems reading data with a "read-hash-extend"
>
On Mon, 9 Apr 2012, Ludovic Courtès wrote:
> Date: Mon, 09 Apr 2012 23:10:14 +0200
> From: Ludovic Courtès
> To: Klaus Stehle
> Cc: 11...@debbugs.gnu.org
> Subject: Re: bug#11198: problems reading data with a "read-hash-extend"
> registered reader
>
> Hi
d" 84 #f #\540)'.
If you enter the lines interactively into the REPL, everything works
properly and you can read all characters with (read-char p).
Cheers,
Klaus Stehle
guile --version
guile (GNU Guile) 2.0.5
uname -srm
Linux 2.6.32-5-amd64 x86_64
echo $LANG
de_DE.UTF-8
ompiling expression:
=> ERROR: build-constant-store: unrecognized object
#R(my-record #:one "bla" #:two "bobo")
We can see our record built correctly in the error message! But the record
remains unreachable.
Using guile-1.8 all these things are running perfectly!
Cheers,
Klaus Stehle
guile --version
guile (GNU Guile) 2.0.5
uname -srm
Linux 2.6.32-5-amd64 x86_64
(eq? (struct-vtable obj) type-name)))
#,(constructor #'type-name #'constructor-spec indices)
-
+ (struct-set! type-name (+ 2 vtable-offset-user) #,ctor-proc)
#,@(accessors #'type-name #'(field-spec ...) indices)))
;;;