From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: scm_t_bits versus uintptr_t Date: Sat, 24 May 2003 09:03:39 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <878ysxl0z8.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053731558 21489 80.91.224.249 (23 May 2003 23:12:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 23:12:38 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 24 01:12:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19JLht-0005Zr-00 for ; Sat, 24 May 2003 01:12:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JLie-0007DH-69 for guile-devel@m.gmane.org; Fri, 23 May 2003 19:13:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19JLgI-0006Yh-1M for guile-devel@gnu.org; Fri, 23 May 2003 19:10:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19JLfy-00061a-Ow for guile-devel@gnu.org; Fri, 23 May 2003 19:10:17 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19JLZn-0002gF-T1 for guile-devel@gnu.org; Fri, 23 May 2003 19:03:52 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h4NN3nPB030069 for ; Sat, 24 May 2003 09:03:49 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4NN3nQg006655 for ; Sat, 24 May 2003 09:03:49 +1000 (EST) Original-Received: from localhost (ppp126.dyn228.pacific.net.au [203.143.228.126]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4NN3lYZ009048 for ; Sat, 24 May 2003 09:03:48 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19JLZc-0000oa-00; Sat, 24 May 2003 09:03:40 +1000 Original-To: guile-devel@gnu.org User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2434 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2434 While looking at some preprocessor output I noticed scm_t_bits is coming out as plain unsigned long on my i386 debian with gcc 3.3. It seems INTPTR_MAX and INTPTR_MIN are defined in stdint.h in glibc (2.3.1) and not in limits.h, so tags.h decides intptr_t can't be used. It might be necessary to include inttypes.h or stdint.h, or whichever is available, if the intention is to use intptr_t when possible. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel