From: "Anthony.Appleyard" Organization: Materials Science Centre To: djgpp AT delorie DOT com Date: Fri, 11 Apr 1997 14:50:23 GMT-1 Subject: Re: Problem with Packed structs Reply-to: Anthony DOT Appleyard AT umist DOT ac DOT uk Message-ID: "Oleg Yu. Polyanski" wrote:- > Well, I see no reasons to use packed structures *at all*. This way is > unportable between different platforms and often even between different > compilers on the same platform. ... `-fpack-struct' ... (1) When calling an interrupt, I often need to declare a packed struct which matches the layout of the data needed or provided by the interrupt. (2) If I am declaring `struct(long i; char c;} X[0x4000];', having 5 rather than 8 bytes in each array element can save a lot of space. V gode 1991 ya letel v Rossiyu i ya byl v Baikonure (kosmicheskom meste).