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

Re: 4.1.1 doesn't compile



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