[Libreoffice-commits] core.git: editeng: Eliminate unecessary padding in classes
riccardo.magliocchetti at gmail.com
Wed Nov 4 05:19:33 PST 2015
Il 04/11/2015 13:56, Norbert Thiebaud ha scritto:
> On Wed, Nov 4, 2015 at 5:22 AM, Stephan Bergmann <sbergman at redhat.com> wrote:
> In any case wasted space due to alignment is not a 'good thing', and
> the lack of care is a sad state of affair not a 'best practice'.
> proper packing of a structure is not an 'optimization', it should be
> the default.
> btw clang has -Wpadded :-)
Should we have an easy hack suggesting to poke at structs using pahole ?
BTW pahole releases have issues with c++11 that should be fixed in git .
More information about the LibreOffice