On Thu, 23 Oct 2008, John Carter wrote:
I compiled this with gcc 3 and gcc 4 using -std=c89 and -std=c99 with -Wall and -W. -W warns about a(&(b){}) but that is one of those cases where -W warns about a potential omission in a legal operation.
Ah. I forgot to say -pedantic with the -std= If I say -pedantic gcc only accepts this stuff for -std=c99 and doesn't accept the {} empty initializer. (Not that it matters, in that something still interesting occurs with the {c} version if it contains more than one field.) John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@xxxxxxxxxx New Zealand