Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Il 04/11/2015 13:56, Norbert Thiebaud ha scritto:
On Wed, Nov 4, 2015 at 5:22 AM, Stephan Bergmann <sbergman@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 [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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.