Mail Archives: djgpp/2000/06/20/09:00:50
Steamer wrote:
>
> Cherniavsky Beni wrote:
>
> >
> > It might be useful to emphasize that sizeof(expression) is not a function that
> > can be implemented by any library but an *operator*. It is computed at
> > *compile time* as a property of the type of the expression (which is never
> > computed).
>
> This is true in C89/C90. But note that C99 has variable length arrays,
> and sizeof applied to such an array is computed at execution time.
> Moreover, DJGPP (or rather gcc) already supports this, even though it
> is as yet a long way from being C99-compliant.
>
> S.
Thanks for the information, I had no idea about it. Anyway it's a long
way from a function that can be written in C which seemed to be
misunderstood by Kurt Aistinger.
--
Beni Cherniavsky <cben AT crosswinds DOT net>
(also scben AT t2 in technion)
What's the exterior of a domain?
When one takes a bath we shout "Man overboard!".
- Raw text -