From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9937 invoked from network); 27 Jun 2003 11:08:52 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Jun 2003 11:08:52 -0000 Received: (qmail 16573 invoked by alias); 27 Jun 2003 11:08:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18694 Received: (qmail 16561 invoked from network); 27 Jun 2003 11:08:44 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 27 Jun 2003 11:08:44 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [192.18.98.43] by sunsite.dk (MessageWall 1.0.8) with SMTP; 27 Jun 2003 11:8:43 -0000 Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h5RB8Yvc006377; Fri, 27 Jun 2003 05:08:35 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.3beta) with ESMTP id h5RB8WcP001349; Fri, 27 Jun 2003 14:08:33 +0300 (EEST) Received: from ultrahot.Finland.Sun.COM (localhost [127.0.0.1]) by ultrahot.Finland.Sun.COM (8.12.9+Sun/8.12.9) with ESMTP id h5RB8WBc016549; Fri, 27 Jun 2003 14:08:32 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.12.9+Sun/8.12.9/Submit) id h5RB8W2t016546; Fri, 27 Jun 2003 14:08:32 +0300 (EEST) From: Tomi Vainio - Sun Finland MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16124.9647.866583.119076@ultrahot.finland.sun.com> Date: Fri, 27 Jun 2003 14:08:31 +0300 To: Zefram Cc: Oliver Kiddle , zsh-workers@sunsite.dk Subject: Re: 4.1.1 doesn't compile In-Reply-To: <20030626112331.GF21608@fysh.org> References: <16120.21181.974421.168422@ultrahot.finland.sun.com> <13714.1056468548@gmcs3.local> <16121.23378.685635.437515@ultrahot.finland.sun.com> <21028.1056534512@gmcs3.local> <20030626112331.GF21608@fysh.org> X-Mailer: VM 7.16 under 21.4 (patch 9) "Informed Management" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM Zefram writes: > Oliver Kiddle wrote: > > #define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 0.30103) + 3) > > In C89, the definition of a constant expression excludes floating-point > operations. Some compilers allow floating point operations in constants > as an extension. > Did you check what C99 says about this? I didn't completely followed what was said on bug report about differences on these standards. Tomppa