Il 04/11/2015 13:56, Norbert Thiebaud ha scritto:
On Wed, Nov 4, 2015 at 5:22 AM, Stephan Bergmann <[email protected]> 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 [0]? BTW pahole releases have issues with c++11 that should be fixed in git [1]. [0] http://git.kernel.org/cgit/devel/pahole/pahole.git [1] http://stackoverflow.com/questions/23730439/pahole-c11-support -- Riccardo Magliocchetti @rmistaken http://menodizero.it _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
