* Peter Seebach <[EMAIL PROTECTED]> [010329 23:49] wrote:
> In message <[EMAIL PROTECTED]>, Todd Whitesel writes:
> >Just put a 1-element array at the end of your header struct, and account for
> >it when you work out how much extra space to allocate. C memory layout rules
> >guarantee that this usage will have the desired effect.
> 
> Nope, not portable.  The implementation is allowed to bust you for
> overstepping the bounds of the array.  :)
> 
> The only portable solution is the new feature in C99.

Which new feature?

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to