[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] gcc and g++ mbuff confusion. __attribute__((packed))
On Thu, Apr 20, 2000 at 03:59:51PM +0200, Olaf Petzold wrote:
> At first it's seems the compiler option -malign-double overides the
> attributes, it's important to know. Secondly why is there a difference between
> x1_t and x2_t ?? (it's interesting for me)
Because you made a typo.
typedef struct {
char c;
uint32 ui32;
struct s2 {
uint16 ui16[2];
- };
+ } s2_m;
} x2_t;
dave...