From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_V=F6gele?= Newsgroups: gmane.lisp.guile.devel Subject: Re: OpenBSD does not define INT8_MIN etc. Date: Sat, 10 Jul 2004 16:43:29 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <8284C234-D27F-11D8-B8F3-000D93673682@gmx.net> References: <873c40xab2.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1089470645 12308 80.91.224.253 (10 Jul 2004 14:44:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jul 2004 14:44:05 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jul 10 16:44:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BjJ56-0001lI-00 for ; Sat, 10 Jul 2004 16:44:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjJ7K-0003gp-Rr for guile-devel@m.gmane.org; Sat, 10 Jul 2004 10:46:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BjJ7E-0003gj-SX for guile-devel@gnu.org; Sat, 10 Jul 2004 10:46:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BjJ7B-0003gW-Cq for guile-devel@gnu.org; Sat, 10 Jul 2004 10:46:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjJ7B-0003gT-8P for guile-devel@gnu.org; Sat, 10 Jul 2004 10:46:09 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1BjJ4g-0003hp-U3 for guile-devel@gnu.org; Sat, 10 Jul 2004 10:43:35 -0400 Original-Received: (qmail 26739 invoked by uid 65534); 10 Jul 2004 14:43:34 -0000 Original-Received: from pD9E619FB.dip.t-dialin.net (EHLO [192.168.1.15]) (217.230.25.251) by mail.gmx.net (mp017) with SMTP; 10 Jul 2004 16:43:34 +0200 X-Authenticated: #14729429 In-Reply-To: <873c40xab2.fsf@zagadka.ping.de> Original-To: Marius Vollmer X-Mailer: Apple Mail (2.618) 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: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3858 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3858 Marius Vollmer writes: > Yep, I had the same thoughts. There's no problem with INT8_MIN etc, > but I was afraid that for the larger sizes, there would be no portable > way to write the constants. For example, with GCC, UINT64_MAX is > "18446744073709551615ULL" where the "ULL" suffix is essential. That's > why I wanted to use the platform definition of UINT64_MAX, and for > symmetry, I used the platform definitions for the rest as well. I'd definitely use the platform definitions if available. ICU's umachine.h that I mentioned in my second message could be helpful. ICU is highly portable. AFAIK ICU is used on all platforms that IBM supports. I thought about the patch that I attached to my previous message. It's probably better to move the ifdefs from the printf statements into the C code so that the ifdefs don't get into scmconfig.h. I'll post an updated patch later. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel