From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.bugs Subject: Re: Reader bug in 1.7 Date: Thu, 19 Feb 2004 22:04:57 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <1077241330.1718.20.camel@localhost> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077246444 27312 80.91.224.253 (20 Feb 2004 03:07:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2004 03:07:24 +0000 (UTC) Cc: bug-guile@gnu.org, djurfeldt@nada.kth.se, guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 20 04:07:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Au10V-0001b2-00 for ; Fri, 20 Feb 2004 04:07:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Au10K-0000mb-Mv for guile-devel@m.gmane.org; Thu, 19 Feb 2004 22:07:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Au0zb-0000jx-Rq for guile-devel@gnu.org; Thu, 19 Feb 2004 22:06:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Au0z1-0000Pg-IQ for guile-devel@gnu.org; Thu, 19 Feb 2004 22:06:15 -0500 Original-Received: from [213.212.20.77] (helo=kvast.blakulla.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Au0yT-0000Ag-CT; Thu, 19 Feb 2004 22:05:09 -0500 Original-Received: from witch ([209.150.45.158]) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 1Au0yI-000797-00; Fri, 20 Feb 2004 04:04:58 +0100 Original-Received: from mdj by witch with local (Exim 3.35 #1 (Debian)) id 1Au0yH-0001au-00; Thu, 19 Feb 2004 22:04:57 -0500 Original-To: Roland Orre In-Reply-To: <1077241330.1718.20.camel@localhost> (Roland Orre's message of "Fri, 20 Feb 2004 02:42:10 +0100") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3414 gmane.lisp.guile.bugs:1178 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3414 Roland Orre writes: > A uniform vector of type double is read as a vector. > > guile-user> (array-prototype #i(1 2 3 4)) > () > guile-user> (array-prototype #s(1 2 3 4)) > 1.0 > > I'm mostly using 1.7 now (I'm in research, not production) but I hadn't > noticed this until now because most often I'm using float vectors. I > found it when testing one of my uniform vector routines. This is most likely caused by using older versions of libguile.h and the other Guile includes when compiling your routines. The mismatch in binary type identifier between object file and Guile library causes the effect above. When I do the above in my 1.7 I, correctly, get: guile> (array-prototype #i(1 2 3 4)) 1/3 guile> (array-prototype #s(1 2 3 4)) 1.0 M _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel