From: Tomi Vainio - Sun Finland <Tomi.Vainio@Sun.COM>
To: Zefram <zefram@fysh.org>
Cc: Oliver Kiddle <okiddle@yahoo.co.uk>, zsh-workers@sunsite.dk
Subject: Re: 4.1.1 doesn't compile
Date: Fri, 27 Jun 2003 14:08:31 +0300 [thread overview]
Message-ID: <16124.9647.866583.119076@ultrahot.finland.sun.com> (raw)
In-Reply-To: <20030626112331.GF21608@fysh.org>
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
prev parent reply other threads:[~2003-06-27 11:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 13:31 Tomi Vainio - Sun Finland
2003-06-24 15:29 ` Oliver Kiddle
2003-06-25 8:20 ` Tomi Vainio - Sun Finland
2003-06-25 9:48 ` Oliver Kiddle
2003-06-25 11:58 ` Tomi Vainio - Sun Finland
2003-06-25 13:04 ` Tomi Vainio - Sun Finland
2003-06-25 13:45 ` Oliver Kiddle
2003-06-25 16:32 ` Bart Schaefer
2003-06-26 11:23 ` Zefram
2003-06-27 11:08 ` Tomi Vainio - Sun Finland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16124.9647.866583.119076@ultrahot.finland.sun.com \
--to=tomi.vainio@sun.com \
--cc=okiddle@yahoo.co.uk \
--cc=zefram@fysh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).