Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 12210 invoked from network); 16 Nov 2003 23:54:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Nov 2003 23:54:17 -0000 Received: (qmail 6710 invoked by uid 500); 16 Nov 2003 23:54:01 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 6672 invoked by uid 500); 16 Nov 2003 23:54:01 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 6659 invoked from network); 16 Nov 2003 23:54:01 -0000 Errors-To: Message-Id: <5.2.0.9.2.20031116173748.037e4128@pop3.rowe-clan.net> X-Sender: wrowe%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sun, 16 Nov 2003 17:41:02 -0600 To: dev@apr.apache.org From: "William A. Rowe, Jr." Subject: long double != 64 bit int!!! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ok, I can't quote chapter and verse when I'm not in my laboratory, but I'm betting dollars to donuts that from configure.in elif test "$ac_cv_sizeof_long_double" = "8"; then int64_literal='#define APR_INT64_C(val) (val##LD)' uint64_literal='#define APR_UINT64_C(val) (val##ULD)' int64_t_fmt='#define APR_INT64_T_FMT "Ld"' uint64_t_fmt='#define APR_UINT64_T_FMT "Lu"' uint64_t_hex_fmt='#define APR_UINT64_T_HEX_FMT "Lx"' int64_value="long double" long_value="long double" int64_strfn="strtoll" long double is *not* an integral type! double is defined as a floating point form, so long *of* double should be a larger double on any K&R or ANSI C compiler. This code looks altogether bogus. Can someone please share with us what compiler actually defines a long double as an integer data type? Bill