[pacman-dev] [PATCH] Minor struct member reordering for packing concerns

Dan McGee dpmcgee at gmail.com
Wed Jan 8 12:02:07 EST 2014

On Thu, Jan 2, 2014 at 6:13 PM, Allan McRae <allan at archlinux.org> wrote:

> On 03/01/14 04:37, Dan McGee wrote:
> > Noticed using clang and `-Wpadded`.
> Should that be added in our --enable-warning-flags option?
> It is very noisy; I added it locally to find these but I wouldn't
recommend doing it all the time. It unfortunately nags on both padding
within a single struct, as well as padding between individual structs in
arrays. One is easily fixable, the other not as much if you truly need all
the fields.


More information about the pacman-dev mailing list