[Dovecot] 1.0.rc27 released - Compiling on AIX - brovke bitfield in mbox-sync-private.h

Johannes Berg johannes at sipsolutions.net
Sun Mar 18 17:54:13 EET 2007


On Sun, 2007-03-18 at 17:51 +0200, Timo Sirainen wrote:
> > uint32_t flags:8;
> > uint32_t uid_broken:1;
> > uint32_t expunged:1;
> > uint32_t pseudo:1;
> 
> Right, I didn't think of that. But that feels a bit ugly :) I don't
> think it saves much memory anyway, so I'll keep it as uint8_t flags.

Besides, on many platforms gcc generates horrendous code for bitfields.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070318/e15ed064/attachment.pgp 


More information about the dovecot mailing list