>Just for the record (in case someone else has the same thoughts)
>and because I'd already written most of the reply, I also
>replied to your first email.  See last for your follow-up.
>
>> What has the alignment of type 'long long' to do with structure
>> packing?
>
>Only the obvious(?): if long long is usually padded in a
>structure, then marking it with attribute-packed has effect.
>IIUC for netware, you pack everything in structures *except*
>long long, which you pad to 32-bit alignment.  Right?  If not,
>then the warning emission machinery is wrong.

For NetWare, everything gets packed, including 'long long'. That's why
I stumbled across the problem, as the test case (actually there's a
second, similar one) failed because of broken warning emission.

Thanks, Jan

Reply via email to