Alignment attribute

Kevin J. McCarthy kevin at 8t8.us
Sun Apr 14 22:18:40 UTC 2019


On Sun, Apr 14, 2019 at 11:14:05PM +0200, Gero Treuner wrote:
>Just drop that alignment?

No, let's leave it.  The monitor.c is currently linux-only, so I feel 
fairly comfortable gcc or clang will be in use.  Additionally it is able 
to be de-configured, so there is a workaround if needed.

>Considering that Mutt doesn't control alignment on other data 
>structures and there seem to be no issues: Probably it is valid to 
>assume that compilers as GCC automatically choose a suitable alignment.

Mutt isn't doing tricky things like this in other places, so there is 
probably a very good reason for the declaration.

If it turns into an issue then later on we can figure out the correct 
thing to do.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-dev/attachments/20190414/c26604d4/attachment.asc>


More information about the Mutt-dev mailing list