Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.1.1 doesn't compile



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