Bug#356767: Processed: probably a compiler bug

2006-03-13 Thread Ben Hutchings
Falk Hueffner wrote: > > struct PACKET_HEADER > > { > > le length; > > MD5Hash setid; > > } __attribute__ ((packed)); > > > > struct MAINPACKET > > { > > PACKET_HEADER header; > > MD5Hash fileid[0]; > > } __attribute__ ((packed)); > > > > const MD5Hash& FileId(const char *packetdata, int f

Bug#356767: Processed: probably a compiler bug

2006-03-13 Thread Falk Hueffner
Ben Hutchings <[EMAIL PROTECTED]> writes: > Falk Hueffner wrote: >> Note also that the program will not work as intended, because (as soon >> as gcc is fixed) all the packedness is ignored. So I clone this bug. > > Thanks for the confirmation. Personally I think packed structures are a > horrible