From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Daniel_Llorens_del_R=EDo?= Newsgroups: gmane.lisp.guile.devel Subject: Re: bug in scm_arrray_handle_[srfi tag]_elements Date: Tue, 12 Jan 2010 01:54:41 +0100 Message-ID: <4855505A-8773-42E8-9AB1-7961E4013BA7@jast.ch> References: <0JCC00MW3LBEPQ@imap0.epfl.ch> <992C8B41-B3DB-4482-9C6B-679B1CE9E7A9@bluewin.ch> <78A42C13-02F1-46A8-8E9C-B457687B0B5D@bluewin.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263262061 26241 80.91.229.12 (12 Jan 2010 02:07:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2010 02:07:41 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 12 03:07:33 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NUWAP-0006qX-8U for guile-devel@m.gmane.org; Tue, 12 Jan 2010 03:07:33 +0100 Original-Received: from localhost ([127.0.0.1]:37469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUWAP-0000lf-Nl for guile-devel@m.gmane.org; Mon, 11 Jan 2010 21:07:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUV1w-0005BN-TV for guile-devel@gnu.org; Mon, 11 Jan 2010 19:54:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUV1u-00059T-Lg for guile-devel@gnu.org; Mon, 11 Jan 2010 19:54:43 -0500 Original-Received: from [199.232.76.173] (port=48018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUV1u-00059Q-FA for guile-devel@gnu.org; Mon, 11 Jan 2010 19:54:42 -0500 Original-Received: from smtp1.infomaniak.ch ([84.16.68.89]:43588) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUV1t-0006i6-T2 for guile-devel@gnu.org; Mon, 11 Jan 2010 19:54:42 -0500 Original-Received: from [192.168.1.36] (80-158.79-83.cust.bluewin.ch [83.79.158.80]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id o0C0sXgg014032; Tue, 12 Jan 2010 01:54:33 +0100 In-Reply-To: <78A42C13-02F1-46A8-8E9C-B457687B0B5D@bluewin.ch> X-Mailer: Apple Mail (2.753.1) X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) X-Mailman-Approved-At: Mon, 11 Jan 2010 21:07:23 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9869 Archived-At: On 12 Jan, 2010, at 0:49, Daniel Llorens del R=EDo wrote: > - return h-=20 > >elements; \ > + return ((const ctype*) h->elements) + h-=20 > >base; \ > > I wrote it this way at first, too, but it doesn't work for c32/c64 =20 > because ctype for those is float/double. Or maybe hardcode the sizes in the macro call, it's not like they are =20= not already in two places. Regards, Daniel.=