Re: [arm-gnu] missing 'packed' warning?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] missing 'packed' warning?
- To: Galen Seitz <galens@xxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] missing 'packed' warning?
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Sun, 28 Jan 2007 16:18:09 -0800
Galen Seitz wrote:
> While experimenting with packed structures, I've encountered a possible
> problem. With the following code, the declaration of test2 does not
> cause a compiler warning, but the structure is not packed. Is this a
> bug, or am I misinterpreting something?
> struct __attribute__ ((packed)) foo test2; /* No warning, but not
> packed. */
Yes, I believe that's a defect in that the warning should be issued
there too.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713