From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Koeppe Newsgroups: gmane.lisp.guile.devel Subject: Portability bug with UINTPTR_MAX in Solaris/Forte Date: Wed, 18 Jun 2003 08:25:47 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1055917779 7003 80.91.224.249 (18 Jun 2003 06:29:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2003 06:29:39 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 18 08:29:37 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 19SWRt-0001oh-00 for ; Wed, 18 Jun 2003 08:29:37 +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 19SWPg-0001cx-6x for guile-devel@m.gmane.org; Wed, 18 Jun 2003 02:27:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19SWPN-0001YO-SZ for guile-devel@gnu.org; Wed, 18 Jun 2003 02:27:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19SWPM-0001Xq-CR for guile-devel@gnu.org; Wed, 18 Jun 2003 02:27:00 -0400 Original-Received: from merkur.math.uni-magdeburg.de ([141.44.75.40]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19SWOD-0001Ab-Vl for guile-devel@gnu.org; Wed, 18 Jun 2003 02:25:50 -0400 Original-Received: from kombi4 ([141.44.75.44] helo=kombi4.math.uni-magdeburg.de) by merkur.math.uni-magdeburg.de with esmtp (Exim 4.10) id 19SWOD-00024u-00 for guile-devel@gnu.org; Wed, 18 Jun 2003 08:25:49 +0200 Original-Received: (from mkoeppe@localhost) by kombi4.math.uni-magdeburg.de (8.11.6+Sun/8.10.2) id h5I6Pli05216; Wed, 18 Jun 2003 08:25:47 +0200 (MEST) X-Authentication-Warning: kombi4.math.uni-magdeburg.de: mkoeppe set sender to mkoeppe@mail.math.uni-magdeburg.de using -f Original-To: guile-devel@gnu.org Original-Lines: 18 X-Warning: no 'abuse'-account in domain mail.math.uni-magdeburg.de (cf. RFC2142/4.) 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:2547 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2547 I have trouble compiling Guile from CVS HEAD on Solaris 7 and 8 using the Forte (Sun Workshop) C compiler. The reason is the new code using `uintptr_t' (declarations in tags.h). On Solaris, there is a uintptr_t, and UINTPTR_MAX is also a defined macro, but it expands to nothing. (/usr/include/sys/int_limits.h, line 124.) This causes the compilation of libguile/print.c (for instance) to fail. I would suggest that the presence of both uintptr_t and a useful value UINTPTR_MAX should be checked at configuration time. I am not sending a patch, but I am willing to test patches that fix this problem, in case you don't have access to Solaris (or a non-gcc compiler).=20 --=20 Matthias K=F6ppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel