From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.bugs Subject: Re: More problems on HP-UX ... 6 Date: Sat, 01 May 2004 09:27:07 +1000 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <87zn8trqr8.fsf@zip.com.au> References: <87ad0x9g5u.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083367964 20020 80.91.224.253 (30 Apr 2004 23:32:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Apr 2004 23:32:44 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat May 01 01:32:37 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 1BJhUi-0002ma-00 for ; Sat, 01 May 2004 01:32:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJhTw-0005FH-EB for guile-bugs@m.gmane.org; Fri, 30 Apr 2004 19:31:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJhR6-0004a6-5l for bug-guile@gnu.org; Fri, 30 Apr 2004 19:28:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJhQ9-0003Zx-D4 for bug-guile@gnu.org; Fri, 30 Apr 2004 19:28:25 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJhQ6-0003Uv-FU for bug-guile@gnu.org; Fri, 30 Apr 2004 19:27:50 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i3UNRi4u007195 for ; Sat, 1 May 2004 09:27:44 +1000 Original-Received: from localhost (ppp2E52.dyn.pacific.net.au [61.8.46.82]) by mailproxy1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i3UNRLI1016512 for ; Sat, 1 May 2004 09:27:36 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1BJhPP-0000TQ-00; Sat, 01 May 2004 09:27:07 +1000 Original-To: bug-guile@gnu.org In-Reply-To: (Andreas =?iso-8859-1?q?V=F6gele's?= message of "Wed, 28 Apr 2004 09:09:02 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1374 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1374 Andreas V=F6gele writes: > > Yes, but my German copy of "Programming in C, 2nd ed" says in section > A.6.1: "A character [...] can be used everywhere in an expression > where an integer object is required. [...]". And according to section > A.7.3, subscript array references are expressions. gcc being overly enthusiastic about warnings I suppose. > Since the build only aborts if --enable-maintainer-mode, i.e. -Werror, > is enabled I'd probably keep the "char" values. BTW, I use only one > cast to fix this problem (in backtrace.c). In numbers.c I changed the > type of the variables to "int". That would also work, but you do need to cast through unsigned char, so 8-bit char values don't become negative ints, which are not accepted by c99 ctype.h (though glibc is forgiving of them). _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile