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

Re: 4.1.1 doesn't compile



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.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author