Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.1.1 doesn't compile
- X-seq: zsh-workers 18694
- From: Tomi Vainio - Sun Finland <Tomi.Vainio@xxxxxxx>
- To: Zefram <zefram@xxxxxxxx>
- Subject: Re: 4.1.1 doesn't compile
- Date: Fri, 27 Jun 2003 14:08:31 +0300
- Cc: Oliver Kiddle <okiddle@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- In-reply-to: <20030626112331.GF21608@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <16120.21181.974421.168422@xxxxxxxxxxxxxxxxxxxxxxxx> <13714.1056468548@xxxxxxxxxxx> <16121.23378.685635.437515@xxxxxxxxxxxxxxxxxxxxxxxx> <21028.1056534512@xxxxxxxxxxx> <20030626112331.GF21608@xxxxxxxx>
- Reply-to: Tomi.Vainio@xxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author