Re: arm-none-eabi-gcc: packed attribute causes inefficient alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 18 Aug 2023, Tony Josi wrote:

> So basically the compiler is trying to warn that with the packed attribute
> the fields that are aligned relative to the struct can be aligned
> inefficiently as the alignment of the entire struct is now 1.
> 
> If that's the case, I'm not sure what's the purpose of this warning, isn't
> it quite expected?

I'm not sure either. You may get more information by filing a bug about
unclear documentation and confusing behavior of this warning.

Alexander



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux