Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.1.1 doesn't compile
- X-seq: zsh-workers 18636
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Tomi.Vainio@xxxxxxx
- Subject: Re: 4.1.1 doesn't compile
- Date: Wed, 25 Jun 2003 15:45:58 +0200
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <16121.40426.895830.486936@xxxxxxxxxxxxxxxxxxxxxxxx>
- 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> <16121.36471.200540.460093@xxxxxxxxxxxxxxxxxxxxxxxx> <16121.40426.895830.486936@xxxxxxxxxxxxxxxxxxxxxxxx>
Tomi Vainio - Sun Finland wrote:
> I found our bug report about this same thing. There is a lot of talk
> about C90 and C99 standards and how this should really work.
>
> BugID 4800684 compiler treats a usual array as VLA
> 4841119 zsh needs a minor fix to build with latest k2 compiler
>
> Work Around
> Use -xc99=%none options if C99 features are not required.
>
> or
>
> system.h line 421
> - #define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 0.30103) + 3)
> + #define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 30103/100000) + 3)
I'll commit this system.h change to CVS then.
Thanks.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author