%% Olly Betts <[EMAIL PROTECTED]> writes:

  >> gcc accepts this as an extension.
  >> It is useful when using the "struct hack", at least.

  ob> Ah yes, of course.  Not a great justification though, since an
  ob> array size of one gives a much more portable struct hack (albeit
  ob> slightly uglier).

However, the struct hack is not valid Standard C (although it works in
every compiler I'm aware of, so probably that doesn't matter).

BTW, the a[0]-struct-hack is included in the C99 Standard (IIRC), so
it's not really a gcc extension anymore :).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

Reply via email to