14 May
2021
14 May
'21
12:51 p.m.
Hi! On Sat, Mar 27, 2021 at 6:53 PM Sergei Golubchik <serg@mariadb.org> wrote:
Hi, Michael!
Did you consider trying -Wpadded?
'-Wpadded' Warn if padding is included in a structure, either to align an element of the structure or to align the whole structure. Sometimes when this happens it is possible to rearrange the fields of the structure to reduce the padding and so make the structure smaller.
No, I have not used that. Good to know about if I will try to do rearrangement of some other structures later (There are a lot of big structures in the server that would benefit of rearrangement of variables) Regards, Monty